blob: 77c6c1800f88db9f0055dbfb8d49ab085e618822 [file] [log] [blame]
sg481naaf2df82017-08-03 17:56:38 -04001#!/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
17JAVA_HOME=/opt/java/jdk/jdk180
18JAVA_OPTS="-Xms1G -Xmx1G"
19TZ=GMT0
20PATH=$JAVA_HOME/bin:/bin:/usr/bin
21CLASSPATH=`echo /opt/app/datartr/etc /opt/app/datartr/lib/*.jar | tr ' ' ':'`
22export 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 $*