summaryrefslogtreecommitdiff
path: root/filesystems/glusterfs/files/glusterfsd.sh
blob: 0b67605d098692243c19c73a649f4cc71993117f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: glusterfsd.sh,v 1.8 2011/10/07 22:37:03 shattered 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"