etc-gentoo/init.d/._cfg0000_hiawatha
Hans Wurst ed6a6f0dba committing changes in /etc after emerge run
Package changes:
+www-servers/hiawatha-9.14
2015-08-14 23:34:51 +02:00

27 lines
460 B
Plaintext
Executable File

#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
need net
}
start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon \
--start \
--exec "/usr/sbin/hiawatha" \
--pidfile "/var/run/hiawatha.pid"
eend $?
}
stop() {
ebegin "Stopping ${SVCNAME}"
start-stop-daemon \
--stop \
--exec "/usr/sbin/hiawatha" \
--pidfile "/var/run/hiawatha.pid"
eend $?
}