summaryrefslogtreecommitdiff
path: root/sys-apps/daisydog/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/daisydog/files')
-rw-r--r--sys-apps/daisydog/files/daisydog.init.d-r113
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/daisydog/files/daisydog.init.d-r1 b/sys-apps/daisydog/files/daisydog.init.d-r1
new file mode 100644
index 000000000000..9d9efdd42772
--- /dev/null
+++ b/sys-apps/daisydog/files/daisydog.init.d-r1
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# 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"
+command_background="yes"
+pidfile="/run/daisydog.pid"
+
+depend() {
+ provide watchdog
+}