blob: d26e53371c809dcb64f1e84309d292661d3432ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
use net dns
}
start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start --exec /usr/sbin/glusterfsd -- \
--volfile=/etc/glusterfs/${SVCNAME}.vol \
--pid-file=/var/run/${SVCNAME}.pid \
--log-file=/var/log/glusterfs/${SVCNAME}.log \
${GLUSTERFSD_MOUNTPOINT}
eend $?
}
stop() {
ebegin "Stopping ${SVCNAME}"
start-stop-daemon --stop --pidfile /var/run/${SVCNAME}.pid
eend $?
}
|