blob: 59090a7f880c827162513fb7ec2e112829f0ec75 (
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
26
|
#!/sbin/runscript
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored-init.d-2.30,v 1.2 2009/11/04 02:29:23 robbat2 Exp $
NAME="mogstored"
BINARY="/usr/bin/mogstored"
depend() {
use net
before mogilefsd
}
start() {
ebegin "Starting $NAME"
start-stop-daemon --start --quiet \
--pidfile ${PIDFILE} \
--exec ${BINARY} -- ${MOGSTORED_OPTS}
eend $?
}
stop() {
ebegin "Stopping $NAME"
start-stop-daemon --stop --quiet --pidfile="${PIDFILE}"
eend $?
}
# vim: ft=gentoo-init-d:
|