summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-02-01 15:37:43 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-02-01 15:37:43 +0000
commit8325688fb23623f01f5433581555e348cabbd6f2 (patch)
tree823b360a392b7f539e259261c75e919527e55c2b /sys-apps/watchdog/files
parentbad symlinking solved, missed a commit before. (diff)
downloadgentoo-2-8325688fb23623f01f5433581555e348cabbd6f2.tar.gz
gentoo-2-8325688fb23623f01f5433581555e348cabbd6f2.tar.bz2
gentoo-2-8325688fb23623f01f5433581555e348cabbd6f2.zip
Add retry timeout of 5 seconds to stop() function in init script, bug #120044.
(Portage version: 2.0.54)
Diffstat (limited to 'sys-apps/watchdog/files')
-rw-r--r--sys-apps/watchdog/files/watchdog-5.2.4_p5-init.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-apps/watchdog/files/watchdog-5.2.4_p5-init.d b/sys-apps/watchdog/files/watchdog-5.2.4_p5-init.d
index 927048606598..dc7df863d637 100644
--- a/sys-apps/watchdog/files/watchdog-5.2.4_p5-init.d
+++ b/sys-apps/watchdog/files/watchdog-5.2.4_p5-init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/watchdog/files/watchdog-5.2.4_p5-init.d,v 1.1 2005/11/27 10:14:24 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/watchdog/files/watchdog-5.2.4_p5-init.d,v 1.2 2006/02/01 15:37:43 brix Exp $
depend() {
need localmount
@@ -17,6 +17,6 @@ start() {
stop() {
ebegin "Stopping watchdog"
- start-stop-daemon --stop --quiet --exec /usr/sbin/watchdog
+ start-stop-daemon --stop --retry 5 --quiet --exec /usr/sbin/watchdog
eend ${?}
}