| Date: Wed, 18 Oct 2017 18:08:52 +0200
Fixing the gentoo init.d script.
Thank you Sergey Popov for providing the changes.
Diffstat:
M rc.d/Gentoo.init.d | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- |
| @@ -6,12 +6,12 @@
start(){
ebegin "Starting geomyidae"
[ -n "$GEOMYIDAE_ARGS" ] && GEOMYIDAE_ARGS="-- $GEOMYIDAE_ARGS"
- start-stop-daemon -Sb -p /var/run/geomyidae.pid -x /usr/sbin/geomyidae $GEOMYIDAE_ARGS
+ start-stop-daemon -Sbm -p /run/geomyidae.pid -x /usr/sbin/geomyidae $GEOMYIDAE_ARGS
eend $? "Failed to start geomyidae"
}
stop(){
ebegin "Stopping geomyidae"
- start-stop-daemon -S -p /var/run/geomyidae.pid
+ start-stop-daemon -K -p /var/run/geomyidae.pid
eend $? "Failed to stop geomyidae"
} |