start-stop-daemon seems to be unable to stop aiccu with the specified command in /etc/init.d/aiccu start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/aiccu -- stop if run manually it gives this output # start-stop-daemon --stop --oknodo -v --exec /usr/sbin/aiccu -- stop * Will stop /usr/sbin/aiccu * Will stop processes of `/usr/sbin/aiccu' * start-stop-daemon: no matching processes found if running # start-stop-daemon -v --exec /usr/sbin/aiccu -- stop it works but i don't think this is the recommended way ;) Reproducible: Always
Hi! Same problem here. It seems like a call to start-stop-daemon with params '--stop' and '--exec /path/to/bin' doesn't call '/path/to/bin'. The easiest way to fix this problem here is to remove the use of start-stop-daemon completely, so starting aiccu is done via '/usr/sbin/aiccu start' and '/usr/sbin/aiccu stop' to stop it, respectively. Greetings, Phil
Hello. A better way would be to use start-stop-daemon, due to the fact that multiple instances of aiccu could be present. It seems that the --pidfile - toggle for start-stop-daemon is missing: start-stop-daemon --stop --pidfile /var/run/aiccu.pid --quiet --exec /usr/sbin/aiccu stop actually solves the problem.
Created attachment 185406 [details, diff] Diff of /etc/init.d/aiccu
Created attachment 185407 [details, diff] Diff of /etc/init.d/aiccu, correct version
Thank You :) Solved my problem with aiccu!
This seems to work for me too. +1 for commit
Worked for me as well. Why is this still not in portage?
Fixed in net-misc/aiccu-2007.01.15-r1, thanks guys!