summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2012-02-12 14:58:50 +0000
committeravg <avg@FreeBSD.org>2012-02-12 14:58:50 +0000
commitf5c5ba680655abbc307ee2fa88397fc168cbdcad (patch)
treeb6ee1da11c3dc9600922a23bcc91905ebbc417cf /etc
parent5a592c2bdc9a563b9779012138be56a7ac11dc4e (diff)
downloadFreeBSD-src-f5c5ba680655abbc307ee2fa88397fc168cbdcad.zip
FreeBSD-src-f5c5ba680655abbc307ee2fa88397fc168cbdcad.tar.gz
start watchdogd before most of other daemons/servers
The main benefit is that watchdogd would shutdown after most of other daemons/servers and thus, for example, would remedy a system hang caused by unlucky X server shutdown. Reviewed by: dougb (earlier version) MFC after: 2 weeks
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/SERVERS2
-rwxr-xr-xetc/rc.d/watchdogd2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/SERVERS b/etc/rc.d/SERVERS
index 3398487..1cf019a 100755
--- a/etc/rc.d/SERVERS
+++ b/etc/rc.d/SERVERS
@@ -4,7 +4,7 @@
#
# PROVIDE: SERVERS
-# REQUIRE: mountcritremote abi ldconfig savecore
+# REQUIRE: mountcritremote abi ldconfig savecore watchdogd
# This is a dummy dependency, for early-start servers relying on
# some basic configuration.
diff --git a/etc/rc.d/watchdogd b/etc/rc.d/watchdogd
index 043e5bc..d3c0d9c 100755
--- a/etc/rc.d/watchdogd
+++ b/etc/rc.d/watchdogd
@@ -28,7 +28,7 @@
#
# PROVIDE: watchdogd
-# REQUIRE: DAEMON cleanvar
+# REQUIRE: FILESYSTEMS cleanvar syslogd
# KEYWORD: nojail shutdown
. /etc/rc.subr
OpenPOWER on IntegriCloud