summaryrefslogtreecommitdiff
path: root/sysutils/xentools41/files/xend.sh
blob: b7f52f3db2146929a70b51cef734382bb4ca7436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!@RCD_SCRIPTS_SHELL@
#
# PROVIDE: xend
# REQUIRE: xencommons

. /etc/rc.subr

name="xend"
rcvar=$name
command="@PREFIX@/sbin/xend"
start_cmd="echo Starting ${name}. && PATH=${PATH}:@PREFIX@/sbin ${command} start"
pidfile="/var/run/xend.pid"

load_rc_config $name
run_rc_command "$1"