aboutsummaryrefslogtreecommitdiffstats
path: root/etc/init.d/zfs-zed.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/zfs-zed.in')
-rwxr-xr-xetc/init.d/zfs-zed.in19
1 files changed, 6 insertions, 13 deletions
diff --git a/etc/init.d/zfs-zed.in b/etc/init.d/zfs-zed.in
index fa70a82c2..0f900b2be 100755
--- a/etc/init.d/zfs-zed.in
+++ b/etc/init.d/zfs-zed.in
@@ -2,29 +2,23 @@
#
# zfs-zed
#
-# chkconfig: 2345 01 99
+# chkconfig: 2345 29 99
# description: This script will start and stop the ZFS Event Daemon.
# probe: true
#
### BEGIN INIT INFO
# Provides: zfs-zed
-# Required-Start: mtab
-# Required-Stop: $local_fs mtab
-# Default-Start: S
+# Required-Start: zfs-mount
+# Required-Stop: zfs-mount
+# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# X-Start-Before: checkfs
-# X-Stop-After: zfs-import
+# X-Stop-After: zfs-share
# Short-Description: ZFS Event Daemon
# Description: zed monitors ZFS events. When a zevent is posted, zed
# will run any scripts that have been enabled for the
# corresponding zevent class.
### END INIT INFO
#
-# NOTE: Not having '$local_fs' on Required-Start but only on Required-Stop
-# is on purpose. If we have '$local_fs' in both (and X-Start-Before=checkfs)
-# we get conflicts - zed and import needs to be started extremely early,
-# but not stopped too late.
-#
# Released under the 2-clause BSD license.
#
# The original script that acted as a template for this script came from
@@ -45,8 +39,7 @@ ZED_PIDFILE="@runstatedir@/$ZED_NAME.pid"
do_depend()
{
- before zfs-import
- after sysfs
+ after zfs-mount localmount
}
do_start()