diff options
Diffstat (limited to 'sysutils/xentools42/files/xen-watchdog.sh')
-rw-r--r-- | sysutils/xentools42/files/xen-watchdog.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/xentools42/files/xen-watchdog.sh b/sysutils/xentools42/files/xen-watchdog.sh new file mode 100644 index 00000000000..4d2a96b24ce --- /dev/null +++ b/sysutils/xentools42/files/xen-watchdog.sh @@ -0,0 +1,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" |