diff options
author | deva <deva> | 2010-07-07 13:40:36 +0000 |
---|---|---|
committer | deva <deva> | 2010-07-07 13:40:36 +0000 |
commit | 726742e53bcbb3fa31bcd55e6e7fe305da225455 (patch) | |
tree | a44541e18549a89a6af43be585aedc3cb7dd792c /server/gentoo/init.d | |
parent | 75f5863a46a257fe2fa0dd809e8723e38b90eb46 (diff) |
Small path changes. Removed xml-path - it exists already in the config file.
Diffstat (limited to 'server/gentoo/init.d')
-rwxr-xr-x | server/gentoo/init.d/pracrod.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/gentoo/init.d/pracrod.in b/server/gentoo/init.d/pracrod.in index e226a9b..e247eb2 100755 --- a/server/gentoo/init.d/pracrod.in +++ b/server/gentoo/init.d/pracrod.in @@ -3,12 +3,12 @@ # Copyright 2010 Bent Bisballe Nyeng (deva@aasimon.org) # Distributed under the terms of the GNU General Public License v2 -_PROG="pracrod" +_PROG="Pracrod" _PREFIX="@prefix@" _CONF="${_PREFIX}/etc/pracrod.conf" _BIN="${_PREFIX}/bin/pracrod" -_XML="${_PREFIX}/xml" _LOG="/var/log/pracrod.log" +_PID="/var/run/pracrod.pid" depend() { need net @@ -29,16 +29,16 @@ start() { ebegin "Starting ${_PROG}" start-stop-daemon --start --exec ${_BIN} \ - --pidfile /var/run/${_PROG}.pid \ - -- --pidfile /var/run/${_PROG}.pid --config ${_CONF} \ - --xml-basedir ${_XML} -D +fixme,+err,+warn,+info --logfile ${_LOG} + --pidfile ${_PID} \ + -- --pidfile ${_PID} --config ${_CONF} \ + -D +fixme,+err,+warn,+info --logfile ${_LOG} eend $? "Failed to start ${_PROG}" } stop() { ebegin "Stopping ${_PROG}" start-stop-daemon --stop -s INT \ - --pidfile /var/run/${_PROG}.pid \ + --pidfile /var/run/${_PID} \ --exec ${_BIN} eend $? "Failed to stop ${_PROG}" } |