Debian Codegraph @

tools/hotplug/NetBSD/rc.d/xen-watchdog

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 #
3 # PROVIDE: xen-watchdog
4 # REQUIRE: DAEMON
5 #
6 # description: Run domain watchdog daemon
7 #
8
9 . /etc/rc.subrscip-shell source . . `/etc/rc.subr`.
10
11 DIR=$(dirnamescip-shell system . . dirname. "$0")
12 . "${DIR}/xen-hotplugpath.sh"
13
14 LD_LIBRARY_PATH="${libdir}"
15 export LD_LIBRARY_PATH
16
17 name="xenwatchdog"
18 rcvar=$name
19 command="${sbindir}/xenwatchdogd"
20 start_cmd="echo Starting ${name}. && PATH=${PATH}:${sbindir} ${command} 30 15"
21
22 load_rc_config $name
23 run_rc_command "$1"