Stopping the deluge-web Process fails. The Process stays alive. ~ # /etc/init.d/deluge-web start * Starting Deluge-Web ... [ ok ] ~ # /etc/init.d/deluge-web stop * Stopping Deluge-Web ... * start-stop-daemon: no matching processes found [ ok ] No further error message is given.
I use systemd on my system and I do not have this problem. Is there any openrc power user willing to help diagnosing this issue?
The issue is fixed by adding "--do-not-daemonize" to the start statement, equaly to how the deluged script handles this. So the start statement should look like this: start-stop-daemon --start --background --pidfile \ /run/deluge-web.pid --make-pidfile \ --exec /usr/bin/deluge-web --user "${DELUGE_WEB_USER%:*}" \ -e HOME="${DELUGE_WEB_USER_HOME}" -- --do-not-daemonize ${DELUGE_WEB_OPTS}
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eeaceea9b91ac8f068cdcb333842d7aebb7c9e6 commit 8eeaceea9b91ac8f068cdcb333842d7aebb7c9e6 Author: PPed72 <paolo.pedroni@iol.it> AuthorDate: 2020-01-24 15:04:07 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-01-27 06:32:20 +0000 net-p2p/deluge: fix deluge-web.init file Also fixes installation of unwanted files and byte compilation of python modules. Remove old. Closes: https://bugs.gentoo.org/705914 Signed-off-by: Paolo Pedroni <paolo.pedroni@iol.it> Closes: https://github.com/gentoo/gentoo/pull/14425 Signed-off-by: Joonas Niilola <juippis@gentoo.org> ...luge-2.0.3-r1.ebuild => deluge-2.0.3-r3.ebuild} | 28 ++++++------ net-p2p/deluge/deluge-9999.ebuild | 26 ++++++----- net-p2p/deluge/files/deluge-web.init-2 | 53 ++++++++++++++++++++++ 3 files changed, 82 insertions(+), 25 deletions(-)