#! /bin/sh

# this stupid little shellscript starts the agents on java
# It uses another script to really start the agent and
# also restart the agent if the NSI server dies or the
# event channels disappear (GenericStartAgent).

TH=/home/comserv/tnw/java_setup
OC=orb.config.terra

cd $TH
echo "Starting CS agent"
 ./GenericStartAgent ./csagent $OC cs_collection.ini.terra &

echo "Starting DLOG agent"
 ./GenericStartAgent ./dlogagent $OC dlog_collection.ini.terra &

echo "Done."
