Introduction
Introduction Statistics Contact Development Disclaimer Help
Update the gentoo init scripts to openrc-run and fix them. - geomyidae - A smal…
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit f4302a23294447764096dbe4ad39bcd67dfe53b6
parent 8cf862822a3138e0e80e24af198d5a0bab6a8989
Author: Christoph Lohmann <[email protected]>
Date: Fri, 25 Nov 2016 16:05:24 +0100
Update the gentoo init scripts to openrc-run and fix them.
Diffstat:
M rc.d/Gentoo.conf.d | 2 +-
M rc.d/Gentoo.init.d | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rc.d/Gentoo.conf.d b/rc.d/Gentoo.conf.d
@@ -1,5 +1,5 @@
#
# Parameters to be passed to geomyidae
#
-GEOMYIDAE_ARGS="-u gopherd -g gopherd -b /var/gopher -o 70 -l /var/log/geomyid…
+GEOMYIDAE_ARGS="-d -u gopherd -g gopherd -b /var/gopher -o 70 -l /var/log/geom…
diff --git a/rc.d/Gentoo.init.d b/rc.d/Gentoo.init.d
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -6,12 +6,12 @@
start(){
ebegin "Starting geomyidae"
[ -n "$GEOMYIDAE_ARGS" ] && GEOMYIDAE_ARGS="-- $GEOMYIDAE_ARGS"
- start-stop-daemon --start --pidfile /var/run/geomyidae.pid --exec /usr/sbi…
+ start-stop-daemon -Sb -p /var/run/geomyidae.pid -x /usr/sbin/geomyidae $GE…
eend $? "Failed to start geomyidae"
}
stop(){
ebegin "Stopping geomyidae"
- start-stop-daemon --stop --pidfile /var/run/geomyidae.pid
+ start-stop-daemon -S -p /var/run/geomyidae.pid
eend $? "Failed to stop geomyidae"
}
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.