On Mon, Jan 09, 2006 at 12:32:32PM +0000, Roy Marples wrote:
> So, the question now must be, do we allow start-stop-daemon to defy calling 
> logic and NOT stop a daemon? How do we know we're not supposed to stop the 
> daemon based on a custom signal? The answer is we can't. So instead of
> 
> start-stop-daemon --stop -s HUP -p /var/run/dnsmasq.pid
> 
> we need to write
> 
> kill -s HUP $(< /var/run/dnsmasq.pid)

... or implement a stand-alone --signal (or -s) in start-stop-daemon,
allowing it to be called like this:

start-stop-daemon --signal HUP -p /var/run/dnsmasq.pid

Regards,
Brix
-- 
Henrik Brix Andersen <[EMAIL PROTECTED]>
Gentoo Metadistribution | Mobile computing herd

Attachment: pgp3PdrvUTohS.pgp
Description: PGP signature

Reply via email to