Bug#252288: [S-S-D] Please add option to set nodo status code
If you try to start a daemon using start-stop-daemon and the daemon
is already running then start-stop-daemon returns 1.
If the daemon is not already running and start-stop-daemon starts
an instance of it, and the instance exits with status 1, then
start-stop-daemon again returns 1.
I would like to be able to distinguish between these cases. What
would help would be an option that sets the value that is returned
when the daemon is already running. A value could then be chosen
that the daemon itself never returns.
The return value can already be changed (to 0) using the "--oknodo"
option. What we need is a "--nodostatus=VAL" option. "--oknodo"
would thus be equivalent to "--nodostatus=0".
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (700, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro
Versions of packages dpkg depends on:
ii dselect 1.10.21 a user tool to manage Debian packa
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
-- no debconf information