Lines Matching +full:1 +full:- +full:stop
4 # zfs-zed
7 # description: This script will start and stop the ZFS Event Daemon.
11 # Provides: zfs-zed
12 # Required-Start: zfs-mount
13 # Required-Stop: zfs-mount
14 # Default-Start: 2 3 4 5
15 # Default-Stop: 0 1 6
16 # X-Stop-After: zfs-share
17 # Short-Description: ZFS Event Daemon
23 # Released under the 2-clause BSD license.
26 # Debian GNU/kFreeBSD zfsutils 8.1-3 package, written by Aurelien Jarno.
29 . @sysconfdir@/zfs/zfs-functions
38 [ -x "$ZED" ] || exit 0
40 # ----------------------------------------------------
44 after zfs-mount localmount
51 ZED_ARGS="$ZED_ARGS -p $ZED_PIDFILE"
67 pools=$("$ZPOOL" list -H -oname)
68 if [ -z "$pools" ]
94 # ----------------------------------------------------
98 case "$1" in
102 stop)
108 reload|force-reload)
116 [ -n "$1" ] && echo "Error: Unknown command $1."
117 echo "Usage: $0 {start|stop|status|reload|restart}"
118 exit 1
127 stop() { do_stop; }