Summary: | net-misc/aiccu-2007.01.15 fails to stop | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Gaber <Michael.Gaber> |
Component: | [OLD] Unspecified | Assignee: | Guy Martin (RETIRED) <gmsoft> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | idl0r, Phil, tamiko, tom |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Diff of /etc/init.d/aiccu
Diff of /etc/init.d/aiccu, correct version |
Description
Michael Gaber
2008-11-24 18:58:38 UTC
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! |