start-stop-daemon can't stop the daemon "No $daemon found running; none killed."
0
votes
1
answer
838
views
Trying to stop the transmission daemon on debian 11 gives me:
start-stop-daemon --stop --chuid debian-transmission --exec /usr/bin/transmission-daemon -- --config-dir /var/lib/transmission-daemon/info
No /usr/bin/transmission-daemon found running; none killed.
But I'm pretty sure that's not the case:
root@91c79f82a860:/var/www/html# ps -ef | grep transmission
debian-+ 1347 1 0 19:02 ? 00:00:00 /usr/bin/transmission-daemon --config-dir /var/lib/transmission-daemon/info
**System information:**
root@91c79f82a860:/var/www/html# dpkg -s transmission-daemon | grep Version
Version: 3.00-1
root@91c79f82a860:/var/www/html# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Also, I'm doing this inside a docker container,
php:8.1.8-apache
.
I extracted the start-stop-daemon CMD from the /etc/init.d/transmission-daemon.
Asked by vytaux
(53 rep)
Aug 20, 2022, 07:10 PM
Last activity: Aug 23, 2022, 04:19 PM
Last activity: Aug 23, 2022, 04:19 PM