summaryrefslogtreecommitdiff
path: root/sysutils/xentools42/files/xen-watchdog.sh
blob: 4d2a96b24ce89f5c1dba323a4e68f4a4802c0171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!@RCD_SCRIPTS_SHELL@
#
# PROVIDE: xen-watchdog
# REQUIRE: DAEMON
#
# description: Run domain watchdog daemon
#

. /etc/rc.subr

name="xenwatchdog"
rcvar=$name
command="@PREFIX@/sbin/xenwatchdogd"
start_cmd="echo Starting ${name}. && PATH=${PATH}:@PREFIX@/sbin ${command} 30 15"

load_rc_config $name
run_rc_command "$1"