sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # AT&T - PROPRIETARY |
| 4 | # THIS FILE CONTAINS PROPRIETARY INFORMATION OF |
| 5 | # AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN |
| 6 | # ACCORDANCE WITH APPLICABLE AGREEMENTS. |
| 7 | # |
| 8 | # Copyright (c) 2013 AT&T Knowledge Ventures |
| 9 | # Unpublished and Not for Publication |
| 10 | # All Rights Reserved |
| 11 | # |
| 12 | # dr-route -- A script to interact with a provisioning server to manage the DR routing tables. |
| 13 | # |
| 14 | # $Id: dr-route,v 1.2 2013/11/06 16:23:54 eby Exp $ |
| 15 | # |
| 16 | |
| 17 | JAVA_HOME=/opt/java/jdk/jdk180 |
| 18 | JAVA_OPTS="-Xms1G -Xmx1G" |
| 19 | TZ=GMT0 |
| 20 | PATH=$JAVA_HOME/bin:/bin:/usr/bin |
| 21 | CLASSPATH=`echo /opt/app/datartr/etc /opt/app/datartr/lib/*.jar | tr ' ' ':'` |
| 22 | export CLASSPATH JAVA_HOME JAVA_OPTS TZ PATH |
| 23 | |
| 24 | $JAVA_HOME/bin/java \ |
| 25 | -Dlog4j.configuration=file:///opt/app/datartr/etc/log4j.drroute.properties \ |
| 26 | com.att.research.datarouter.provisioning.utils.DRRouteCLI $* |