Control: tags -1 + patch > The usual fix seems to be to also specify the binary to be stopped with > IIRC the --exec option.
This is done in the attached (untested) patch. Is there an easier way to test it, than with a virtual machine? (My system has systemd.) Cheers, -- Stéphane
commit 9f69c9ff66683d32cd7429a6d8a9641ec35655d4 Author: Stephane Glondu <st...@glondu.net> Date: Fri Mar 29 17:57:14 2019 +0100 Always call start-stop-daemon --stop with --exec (Closes: #924311) diff --git a/debian/changelog b/debian/changelog index 763e7c5..e41cecd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +miredo (1.2.6-7.1~0) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Always call start-stop-daemon --stop with --exec (Closes: #924311) + + -- Stéphane Glondu <glo...@debian.org> Fri, 29 Mar 2019 17:56:11 +0100 + miredo (1.2.6-7) unstable; urgency=medium * refresh packaging (debhelper 12, std-ver 4.3.0) diff --git a/debian/miredo-server.init b/debian/miredo-server.init index da2aa55..419860b 100644 --- a/debian/miredo-server.init +++ b/debian/miredo-server.init @@ -69,7 +69,7 @@ case "$1" in stop|force-stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile "$PIDFILE" \ - --retry 1 --oknodo + --exec "$DAEMON" --retry 1 --oknodo log_end_msg $? ;; reload|force-reload) diff --git a/debian/miredo.init b/debian/miredo.init index e1c794d..0be56e3 100644 --- a/debian/miredo.init +++ b/debian/miredo.init @@ -87,7 +87,7 @@ case "$1" in stop|force-stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile "$PIDFILE" \ - --retry 1 --oknodo + --exec "$DAEMON" --retry 1 --oknodo log_end_msg $? ;; reload|force-reload)