[Unit]
Description=Xen-watchdog - run xen watchdog daemon
Requires=proc-xen.mount
After=proc-xen.mount xendomains.service
ConditionPathExists=/proc/xen/capabilities

[Service]
Type=forking
Environment="XENWATCHDOGD_ARGS=30 15"
EnvironmentFile=-@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons
ExecStart=@sbindir@/xenwatchdogd $XENWATCHDOGD_ARGS
KillSignal=USR1

[Install]
WantedBy=multi-user.target
