From a8b381e8ef7e69a279a2ea2c3e897cdee43e0ee6 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 10 Jun 2019 15:43:56 -0700 Subject: Initial commit --- watchdog.initd | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 watchdog.initd (limited to 'watchdog.initd') 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 +} -- cgit v1.2.1