Well.. I think i figured your issue out friend... try this as a shell script.. lemme know if it works ---Edit after this--- Well.. yea.. I didnt read the last sentence of a few posts up.. but this will also work.. if you dont want to swim through those files ---edit before this--
As long as it runs one of them.. I think this should be fine..
Code:
#!/bin/bash
PID="`ps aux|grep <process name>|awk '{print $2}'`"
kill $PID
echo Killed!?
^^^ That to stop
Code:
#!/bin/bash
/path/to/thing/to/start
echo Started!?
^^^ To start
In my next release..(pfft) the starting script will just generate a pid file..it will also check for the pid file and alert you if more then one has been started...weeee... that should work.. should
is the key word of course