summaryrefslogtreecommitdiff
path: root/sysutils/xentools41/files/xend.sh
blob: c6115e4ec896f1f560a52ba98a12b08da28fc2b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# 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"