summaryrefslogtreecommitdiff
path: root/watchdog.initd
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-06-10 15:43:56 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-06-10 15:43:56 -0700
commita8b381e8ef7e69a279a2ea2c3e897cdee43e0ee6 (patch)
tree4baa14e17ed6f243f980da275862b8cc016c2841 /watchdog.initd
downloadwatchdog-openrc-a8b381e8ef7e69a279a2ea2c3e897cdee43e0ee6.tar.xz
Initial commitHEADmaster
Diffstat (limited to 'watchdog.initd')
-rw-r--r--watchdog.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/watchdog.initd b/watchdog.initd
new file mode 100644
index 0000000..0965e5e
--- /dev/null
+++ b/watchdog.initd
@@ -0,0 +1,13 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/watchdog"
+command_args="${WATCHDOG_OPTS}"
+pidfile="/run/${RC_SVCNAME}.pid"
+start_stop_daemon_args="--background --make-pidfile"
+
+depend() {
+ need localmount
+ after bootmisc
+}