1 |
Hi fellow devs |
2 |
|
3 |
start-stop-daemon binary in baselayout-2 will require the use of the |
4 |
--name or --pidfile argument in --start if the binary in question |
5 |
changes it's process name. |
6 |
|
7 |
This also applies to any interpreted daemon, such as ddclient or |
8 |
amavisd which are perl programs. This is because according to the |
9 |
kernel, perl is the executable and not ddclient or amavisd. |
10 |
Of course, this also applies to shell, ruby, python and all the other |
11 |
interpreted programs too. |
12 |
|
13 |
baselayout-2 requires this so it can track daemons and work out if they |
14 |
have crashed or not, or even started correctly. |
15 |
|
16 |
Also, some people use the following statement |
17 |
start-stop-daemon --stop --oknodo --signal HUP --exec /some/daemon |
18 |
To send signals to daemons, but not stop them. That incredibly long |
19 |
winded, so alpha2 will support the following |
20 |
start-stop-daemon --signal HUP --exec /some/daemon |
21 |
|
22 |
Thanks |
23 |
|
24 |
Roy |
25 |
-- |
26 |
gentoo-dev@g.o mailing list |