summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-17 18:13:04 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-17 18:13:04 +0000
commit6cdf5ff1b8c02132c599f8243175a917bfb157bb (patch)
tree1a8e95be5f4c32b79f1aceb8ab91618844e35981 /app-admin/watchdog/files
parentadd local nntp for evolution (diff)
downloadhistorical-6cdf5ff1b8c02132c599f8243175a917bfb157bb.tar.gz
historical-6cdf5ff1b8c02132c599f8243175a917bfb157bb.tar.bz2
historical-6cdf5ff1b8c02132c599f8243175a917bfb157bb.zip
conf.d file for watchdog init script
Diffstat (limited to 'app-admin/watchdog/files')
-rw-r--r--app-admin/watchdog/files/watchdog4
-rw-r--r--app-admin/watchdog/files/watchdog.conf.d6
2 files changed, 8 insertions, 2 deletions
diff --git a/app-admin/watchdog/files/watchdog b/app-admin/watchdog/files/watchdog
index f86aad917932..53536a32a7a4 100644
--- a/app-admin/watchdog/files/watchdog
+++ b/app-admin/watchdog/files/watchdog
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/watchdog,v 1.1 2004/08/06 05:39:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/watchdog,v 1.2 2004/08/17 18:13:04 vapier Exp $
depend() {
need localmount
@@ -19,7 +19,7 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting watchdog"
- start-stop-daemon --start --quiet --exec /usr/sbin/watchdog
+ start-stop-daemon --start --quiet --exec /usr/sbin/watchdog -- ${WATCHDOG_OPTS}
eend $?
}
diff --git a/app-admin/watchdog/files/watchdog.conf.d b/app-admin/watchdog/files/watchdog.conf.d
new file mode 100644
index 000000000000..e5ddc090f8af
--- /dev/null
+++ b/app-admin/watchdog/files/watchdog.conf.d
@@ -0,0 +1,6 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/watchdog/files/watchdog.conf.d,v 1.1 2004/08/17 18:13:04 vapier Exp $
+
+# for more info, see watchdog(8)
+WATCHDOG_OPTS=""