Hi fellow devs

start-stop-daemon binary in baselayout-2 will require the use of the
--name or --pidfile argument in --start if the binary in question
changes it's process name.

This also applies to any interpreted daemon, such as ddclient or
amavisd which are perl programs. This is because according to the
kernel, perl is the executable and not ddclient or amavisd.
Of course, this also applies to shell, ruby, python and all the other
interpreted programs too.

baselayout-2 requires this so it can track daemons and work out if they
have crashed or not, or even started correctly.

Also, some people use the following statement
start-stop-daemon --stop --oknodo --signal HUP --exec /some/daemon
To send signals to daemons, but not stop them. That incredibly long
winded, so alpha2 will support the following
start-stop-daemon --signal HUP --exec /some/daemon

Thanks

Roy
-- 
[EMAIL PROTECTED] mailing list

Reply via email to