blob: 13d01bc1de278761ce47ee455a4d119d54effc20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/sbin/runscript
# $Id$
NAME="perlbal"
BINARY="/usr/bin/perlbal"
depend() {
use net
}
start() {
ebegin "Starting $NAME"
# Add --pidfile when upstream supports PIDFILES
start-stop-daemon --start \
--exec ${BINARY} -- ${PERLBAL_OPTS}
eend $?
}
stop() {
ebegin "Stopping $NAME"
start-stop-daemon --stop --exec "${BINARY}"
eend $?
}
# vim: ft=gentoo-init-d:
|