summaryrefslogtreecommitdiff
path: root/filesystems/glusterfs/files/glusterfsd.sh
blob: 1e314f68925695a3159685a5ebeff2775047dba1 (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.9 2011/12/09 16:57:44 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"