Client execution changes?
Craig Cook
craig at cookitservices.com
Tue Sep 13 03:04:10 CEST 2005
hobbitlaunch.cfg contains this:
[hobbitclient]
ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
NEEDS hobbitd
CMD /home/hobbit/client/bin/hobbitclient.sh
LOGFILE $BBSERVERLOGS/hobbitclient.log
INTERVAL 5m
The actual client contains this file
"runclient.sh"
They almost do the same thing...
Should the hobbitlaunch.cfg be changed to simply execute the "runclient.sh" and use whatever settings has been defined in that file?
Maybe add this to runclient.sh as well...
"restart")
if test -s $BASEDIR/logs/clientlaunch.pid
then $0 stop
sleep 10
$0 start
else
echo "clientlaunch does not appear to be running, starting it"
$0 start
fi
;;
Thanks
Craig Cook
--
Systems Monitoring Consulting and Support Services
http://www.cookitservices.com
More information about the Xymon
mailing list