ed6a6f0dba
Package changes: +www-servers/hiawatha-9.14
27 lines
460 B
Plaintext
Executable File
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 $?
|
|
}
|