[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Client execution changes?
- To: hobbit (at) hswn.dk
 
- Subject: Client execution changes?
 
- From: "Craig Cook" <craig (at) cookitservices.com>
 
- Date: Mon, 12 Sep 2005 20:04:10 -0500
 
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