diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/daisydog/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/daisydog/files')
-rw-r--r-- | sys-apps/daisydog/files/daisydog.conf.d | 4 | ||||
-rwxr-xr-x | sys-apps/daisydog/files/daisydog.init.d | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/daisydog/files/daisydog.conf.d b/sys-apps/daisydog/files/daisydog.conf.d new file mode 100644 index 000000000000..05adc4531a22 --- /dev/null +++ b/sys-apps/daisydog/files/daisydog.conf.d @@ -0,0 +1,4 @@ +# /etc/conf.d/daisydog: config file for /etc/init.d/daisydog + +# for more info, see `daisydog -h`. +WATCHDOG_OPTS="" 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 +} |