13 Sep
2005
13 Sep
'05
1:04 a.m.
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