summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-03 02:55:23 -0500
committerMike Frysinger <vapier@gentoo.org>2016-03-03 02:56:11 -0500
commit935df04d5b2f24f428d38dc7456613b5eaeb03bf (patch)
tree21d2ec105445d2dc9cc1fb20936bef6a5c170d8e /sys-apps/daisydog/files
parentMerge github#959: www-servers/nginx: Version bump to v1.9.12. (diff)
downloadgentoo-935df04d5b2f24f428d38dc7456613b5eaeb03bf.tar.gz
gentoo-935df04d5b2f24f428d38dc7456613b5eaeb03bf.tar.bz2
gentoo-935df04d5b2f24f428d38dc7456613b5eaeb03bf.zip
sys-apps/daisydog: new package for Chromium OS watchdog daemon
Diffstat (limited to 'sys-apps/daisydog/files')
-rw-r--r--sys-apps/daisydog/files/daisydog.conf.d4
-rwxr-xr-xsys-apps/daisydog/files/daisydog.init.d12
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..6fecb16943a4
--- /dev/null
+++ b/sys-apps/daisydog/files/daisydog.init.d
@@ -0,0 +1,12 @@
+#!/sbin/runscript
+# 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
+}