iUpdate the gentoo init scripts to openrc-run and fix them. - geomyidae - A small C-based gopherd. Err bitreich.org 70 hgit clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ URL:git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ bitreich.org 70 1Log /scm/geomyidae/log.gph bitreich.org 70 1Files /scm/geomyidae/files.gph bitreich.org 70 1Refs /scm/geomyidae/refs.gph bitreich.org 70 1Tags /scm/geomyidae/tag bitreich.org 70 1README /scm/geomyidae/file/README.gph bitreich.org 70 1LICENSE /scm/geomyidae/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit f4302a23294447764096dbe4ad39bcd67dfe53b6 /scm/geomyidae/commit/f4302a23294447764096dbe4ad39bcd67dfe53b6.gph bitreich.org 70 1parent 8cf862822a3138e0e80e24af198d5a0bab6a8989 /scm/geomyidae/commit/8cf862822a3138e0e80e24af198d5a0bab6a8989.gph bitreich.org 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net bitreich.org 70 iDate: Fri, 25 Nov 2016 16:05:24 +0100 Err bitreich.org 70 i Err bitreich.org 70 iUpdate the gentoo init scripts to openrc-run and fix them. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M rc.d/Gentoo.conf.d | 2 +- Err bitreich.org 70 i M rc.d/Gentoo.init.d | 6 +++--- Err bitreich.org 70 i Err bitreich.org 70 i2 files changed, 4 insertions(+), 4 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/rc.d/Gentoo.conf.d b/rc.d/Gentoo.conf.d /scm/geomyidae/file/rc.d/Gentoo.conf.d.gph bitreich.org 70 i@@ -1,5 +1,5 @@ Err bitreich.org 70 i # Err bitreich.org 70 i # Parameters to be passed to geomyidae Err bitreich.org 70 i # Err bitreich.org 70 i-GEOMYIDAE_ARGS="-u gopherd -g gopherd -b /var/gopher -o 70 -l /var/log/geomyidae.log -h localhost" Err bitreich.org 70 i+GEOMYIDAE_ARGS="-d -u gopherd -g gopherd -b /var/gopher -o 70 -l /var/log/geomyidae.log -h localhost" Err bitreich.org 70 i Err bitreich.org 70 1diff --git a/rc.d/Gentoo.init.d b/rc.d/Gentoo.init.d /scm/geomyidae/file/rc.d/Gentoo.init.d.gph bitreich.org 70 i@@ -1,4 +1,4 @@ Err bitreich.org 70 i-#!/sbin/runscript Err bitreich.org 70 i+#!/sbin/openrc-run Err bitreich.org 70 i # Copyright 1999-2010 Gentoo Foundation Err bitreich.org 70 i # Distributed under the terms of the GNU General Public License v2 Err bitreich.org 70 i # $Header: $ Err bitreich.org 70 i@@ -6,12 +6,12 @@ Err bitreich.org 70 i start(){ Err bitreich.org 70 i ebegin "Starting geomyidae" Err bitreich.org 70 i [ -n "$GEOMYIDAE_ARGS" ] && GEOMYIDAE_ARGS="-- $GEOMYIDAE_ARGS" Err bitreich.org 70 i- start-stop-daemon --start --pidfile /var/run/geomyidae.pid --exec /usr/sbin/geomyidae $GEOMYIDAE_ARGS Err bitreich.org 70 i+ start-stop-daemon -Sb -p /var/run/geomyidae.pid -x /usr/sbin/geomyidae $GEOMYIDAE_ARGS Err bitreich.org 70 i eend $? "Failed to start geomyidae" Err bitreich.org 70 i } Err bitreich.org 70 i Err bitreich.org 70 i stop(){ Err bitreich.org 70 i ebegin "Stopping geomyidae" Err bitreich.org 70 i- start-stop-daemon --stop --pidfile /var/run/geomyidae.pid Err bitreich.org 70 i+ start-stop-daemon -S -p /var/run/geomyidae.pid Err bitreich.org 70 i eend $? "Failed to stop geomyidae" Err bitreich.org 70 i } Err bitreich.org 70 .