#!/bin/sh
#
# PROVIDE: xen-watchdog
# REQUIRE: DAEMON
#
# description: Run domain watchdog daemon
#

. /etc/rc.subr

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

load_rc_config $name
run_rc_command "$1"
