pkgsrc/filesystems/glusterfs/files/glusterfsd.sh
manu f6e7eff08c - Add experimental support for SSL
- Ignore again .attribute (a patch part that was lost in last upgrade)
2011-12-09 16:57:44 +00:00

19 lines
369 B
Bash
Executable file

#!/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"