1 |
On Mon, Jan 09, 2006 at 12:32:32PM +0000, Roy Marples wrote: |
2 |
> So, the question now must be, do we allow start-stop-daemon to defy calling |
3 |
> logic and NOT stop a daemon? How do we know we're not supposed to stop the |
4 |
> daemon based on a custom signal? The answer is we can't. So instead of |
5 |
> |
6 |
> start-stop-daemon --stop -s HUP -p /var/run/dnsmasq.pid |
7 |
> |
8 |
> we need to write |
9 |
> |
10 |
> kill -s HUP $(< /var/run/dnsmasq.pid) |
11 |
|
12 |
... or implement a stand-alone --signal (or -s) in start-stop-daemon, |
13 |
allowing it to be called like this: |
14 |
|
15 |
start-stop-daemon --signal HUP -p /var/run/dnsmasq.pid |
16 |
|
17 |
Regards, |
18 |
Brix |
19 |
-- |
20 |
Henrik Brix Andersen <brix@g.o> |
21 |
Gentoo Metadistribution | Mobile computing herd |