]] Salvo Tomaselli 

> Start-stop-daemon terminates when the signal has been sent, not when the 
> process has terminated, waiting for the  process to terminate would make the 
> scripts easier.
> After all they are trying to stop a daemon not to send a signal, so they are 
> interested in the effective termination of the process.

Then one should use --retry.  s-s-d supports the behaviour you're
describing.

[...]

> The sleep is just a poor workaround for a problem in start-stop-daemon, by 
> putting a waitpid in it, all those sleeps during the restart could be safely 
> eliminated.

.. except that you can only wait/waitpid on children, not arbitrary
processes.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to