Lines Matching +full:1 +full:- +full:stop
2 # SPDX-License-Identifier: BSD-2-Clause
5 # zfs-zed
8 # description: This script will start and stop the ZFS Event Daemon.
12 # Provides: zfs-zed
13 # Required-Start: zfs-mount
14 # Required-Stop: zfs-mount
15 # Default-Start: 2 3 4 5
16 # Default-Stop: 0 1 6
17 # X-Stop-After: zfs-share
18 # Short-Description: ZFS Event Daemon
24 # Released under the 2-clause BSD license.
27 # Debian GNU/kFreeBSD zfsutils 8.1-3 package, written by Aurelien Jarno.
30 . @sysconfdir@/zfs/zfs-functions
39 [ -x "$ZED" ] || exit 0
41 # ----------------------------------------------------
45 after zfs-mount localmount
52 ZED_ARGS="$ZED_ARGS -p $ZED_PIDFILE"
68 pools=$("$ZPOOL" list -H -oname)
69 if [ -z "$pools" ]
95 # ----------------------------------------------------
99 case "$1" in
103 stop)
109 reload|force-reload)
117 [ -n "$1" ] && echo "Error: Unknown command $1."
118 echo "Usage: $0 {start|stop|status|reload|restart}"
119 exit 1
128 stop() { do_stop; }