On 07/13/2011 03:49 PM, Soren Hansen wrote:
> As for why some of the scripts use start-stop-daemon and some don't...
> I'm not sure. Perhaps Thomas can provide some clarity.
As much as I can remember, so scripts were able to daemonize by
themselves, and generate a PID file. For these, I didn't use
start-stop-daemon. For the others, I had unfortunately no other way. I
wish all this was written with more consistency so that we would never
need start-stop-daemon (it's not as if writing a PID and doing a fork()
call was hard, is it? :) ).
On 07/13/2011 03:49 PM, Soren Hansen wrote:
> As for why some of the scripts use start-stop-daemon and some don't...
> I'm not sure. Perhaps Thomas can provide some clarity.
As much as I can remember, so scripts were able to daemonize by
themselves, and generate a PID file. For these, I didn't use
start-stop-daemon. For the others, I had unfortunately no other way. I
wish all this was written with more consistency so that we would never
need start-stop-daemon (it's not as if writing a PID and doing a fork()
call was hard, is it? :) ).
Thomas