mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
ccdcc1dbe8
Systemd units do not read @initconfdir@ but refer to variables defined there, also a minor fixup in zfs-scrub service file. Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Damian Szuberski <szuberskidamian@gmail.com> Signed-off-by: Krzysztof Piecuch <piecuch@kpiecuch.pl> Closes #12946
14 lines
247 B
SYSTEMD
14 lines
247 B
SYSTEMD
[Unit]
|
|
Description=ZFS Event Daemon (zed)
|
|
Documentation=man:zed(8)
|
|
ConditionPathIsDirectory=/sys/module/zfs
|
|
|
|
[Service]
|
|
EnvironmentFile=-@initconfdir@/zfs
|
|
ExecStart=@sbindir@/zed -F
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
Alias=zed.service
|
|
WantedBy=zfs.target
|