| Fixing the gentoo init.d script. - geomyidae - A small C-based gopherd. | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit c34197096e645ab4e8e97fb10027562f90a21bc1 | |
| parent 9725b7f1b23d5df2decd91ae9deea8ad238d0105 | |
| Author: Christoph Lohmann <[email protected]> | |
| 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(-) | |
| --- | |
| 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 $GE… | |
| + start-stop-daemon -Sbm -p /run/geomyidae.pid -x /usr/sbin/geomyidae $GEOMY… | |
| 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" | |
| } |