Bug#945464: /lib/init/init-d-script: stop action: missing --oknodo in s-s-d invocation
Trek
trek00 at inbox.ru
Fri Jul 3 15:43:55 BST 2020
On Thu, 12 Dec 2019 09:19:20 +0100
Jan Braun <janbraun at gmx.de> wrote:
> The second s-s-d --stop invocation has "--retry=0/30/KILL/5". What's
> that zero doing there? Shouldn't that be TERM instead, as in the
> first invocation?
i think it should be interpreted as: the first s-s-d --stop will kill
the main daemon using its pidfile, then the second s-s-d --stop will
wait 30 seconds and then SIGKILL any remaining child
> Runit's sv(8) sends TERM and CONT to bring down a service gracefully,
> because a STOPped process obviously can't react to TERM. Maybe that's
> something you want to adopt as well?
yes, definitively, thanks!
ciao
More information about the Debian-init-diversity
mailing list