diff options
author | 2022-06-03 06:11:36 +0100 | |
---|---|---|
committer | 2022-06-03 06:29:07 +0100 | |
commit | 62aa412c33b4364105b14c904e32738617e8ea88 (patch) | |
tree | 5a77561ff0656139f790ecad3ac4f8c2eb06cd74 /sys-apps/daisydog/files | |
parent | media-gfx/graphviz: use confcache (diff) | |
download | gentoo-62aa412c33b4364105b14c904e32738617e8ea88.tar.gz gentoo-62aa412c33b4364105b14c904e32738617e8ea88.tar.bz2 gentoo-62aa412c33b4364105b14c904e32738617e8ea88.zip |
sys-apps/daisydog: improve OpenRC init script
The attached script updates a couple things which effectively is the same as
the current model however it follows the modular nature of the declarative
syntax.
Changes:
* Split start_stop_daemon_args into command_background and pidfile options.
Closes: https://bugs.gentoo.org/828084
Signed-off-by: Brian Evans <grknight@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/daisydog/files')
-rw-r--r-- | sys-apps/daisydog/files/daisydog.init.d-r1 | 13 |
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 +} |