summaryrefslogtreecommitdiff
blob: 878cb6de7538adc90c9d88482ecbe27a7645c3fb (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.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $

NAME="mogstored"
BINARY="/usr/bin/mogstored"

depend() {
	use net
	after mysql mogilefsd
}

start() {
	ebegin "Starting $NAME"
	start-stop-daemon --start --quiet \
		--exec ${BINARY} -- ${MOGSTORED_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping $NAME"
	start-stop-daemon --stop --quiet \
		--exec ${BINARY}
	eend $?
}

# vim: ft=gentoo-init-d: