summaryrefslogtreecommitdiff
path: root/sys-apps/daisydog/files/daisydog.init.d
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/daisydog/files/daisydog.init.d')
-rwxr-xr-xsys-apps/daisydog/files/daisydog.init.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/daisydog/files/daisydog.init.d b/sys-apps/daisydog/files/daisydog.init.d
new file mode 100755
index 000000000000..9513b7ef7578
--- /dev/null
+++ b/sys-apps/daisydog/files/daisydog.init.d
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/daisydog"
+command_args="${WATCHDOG_OPTS}"
+description="watchdog daemon to pet /dev/watchdog devices"
+start_stop_daemon_args="--make-pidfile --background --pidfile /run/daisydog.pid"
+
+depend() {
+ provide watchdog
+}