blob: 8284898a36f80eb8137ac19f09bef0b61f6d7dde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#
# $NetBSD: glusterfsd.sh,v 1.3 2011/05/19 14:54:22 manu Exp $
#
# PROVIDE: glusterfsd
# REQUIRE: rpcbind
$_rc_subr_loaded . /etc/rc.subr
name="glusterfsd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
command_args="-p ${pidfile}"
required_files="@PREFIX@/etc/glusterfs/${name}.vol"
load_rc_config $name
run_rc_command "$1"
|