mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 18:11:00 +03:00
b2a54a28b5
Extend the change made in ae12b02
to verify the zfs kernel
modules are loaded to the rest of the OpenZFS services. If
the modules aren't loaded the neither the share, volume, or
and zed services can be started.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11243
13 lines
212 B
SYSTEMD
13 lines
212 B
SYSTEMD
[Unit]
|
|
Description=ZFS Event Daemon (zed)
|
|
Documentation=man:zed(8)
|
|
ConditionPathIsDirectory=/sys/module/zfs
|
|
|
|
[Service]
|
|
ExecStart=@sbindir@/zed -F
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
Alias=zed.service
|
|
WantedBy=zfs.target
|