mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-21 22:52:55 +03:00

Since systemd v239, Exec* binaries are resolved from PATH when they are not-absolute. Switch to this by default for ease of downstream maintenance. Many downstream distributions move individual binaries to locations that existing compile-time configurations cannot accommodate. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> Closes #14880
14 lines
235 B
SYSTEMD
14 lines
235 B
SYSTEMD
[Unit]
|
|
Description=ZFS Event Daemon (zed)
|
|
Documentation=man:zed(8)
|
|
ConditionPathIsDirectory=/sys/module/zfs
|
|
|
|
[Service]
|
|
EnvironmentFile=-@initconfdir@/zfs
|
|
ExecStart=zed -F
|
|
Restart=always
|
|
|
|
[Install]
|
|
Alias=zed.service
|
|
WantedBy=zfs.target
|