Fixing the gentoo init.d script. - geomyidae - A small C-based gopherd.
HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit c34197096e645ab4e8e97fb10027562f90a21bc1
DIR parent 9725b7f1b23d5df2decd91ae9deea8ad238d0105
HTML Author: Christoph Lohmann <20h@r-36.net>
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(-)
---
DIR diff --git a/rc.d/Gentoo.init.d b/rc.d/Gentoo.init.d
@@ -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"
}