The easiest way to start EngageReSS is from the command line. You have to be in the top level EngageReSS-X.X directory to start the daemon:
cd /some/path/to/EngageReSS-0.2 ./sbin/engageress
To make this happen automatically when the system boots, use an init.d script like:
#! /bin/sh
#
# chkconfig: 345 99 99
# description: EngageReSS
ENGAGERESS_LOCATION=/home/osgmon/engageress/EngageReSS-0.2
ENGAGERESS_USER=osgmon
case $1 in
'start')
echo "Starting up EngageReSS"
su -s /bin/sh $ENGAGERESS_USER \
-c ". \$HOME/.bash_profile && cd $ENGAGERESS_LOCATION && ./sbin/engageress" &
;;
'stop')
pid=`ps auxww | grep EngageReSS | grep java | grep -v grep | awk '{print $2}'`
if [ -n "$pid" ]; then
echo "Shutting down EngageReSS"
kill $pid
else
echo "EngageReSS not running"
fi
;;
*)
echo "Usage: engageress {start|stop}"
;;
esac
Check var/log/engageress.log for
details on what is going on in the system.