diff options
author | Dimitri John Ledkov <[email protected]> | 2023-05-24 20:31:28 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-24 12:31:28 -0700 |
commit | 79b20949b25c8db4d379f6486b0835a6613b480c (patch) | |
tree | 9f8a91362d2f5c9f1a80be31abbad3c76b1c39a8 /etc/systemd/system/zfs-mount.service.in | |
parent | 9d618615d1ede4dd40a69386bc300580550fd4d0 (diff) |
systemd: Use non-absolute paths in Exec* lines
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 <[email protected]>
Signed-off-by: Dimitri John Ledkov <[email protected]>
Closes #14880
Diffstat (limited to 'etc/systemd/system/zfs-mount.service.in')
-rw-r--r-- | etc/systemd/system/zfs-mount.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/systemd/system/zfs-mount.service.in b/etc/systemd/system/zfs-mount.service.in index 66d894923..fc4e1c49f 100644 --- a/etc/systemd/system/zfs-mount.service.in +++ b/etc/systemd/system/zfs-mount.service.in @@ -12,7 +12,7 @@ ConditionPathIsDirectory=/sys/module/zfs Type=oneshot RemainAfterExit=yes EnvironmentFile=-@initconfdir@/zfs -ExecStart=@sbindir@/zfs mount -a +ExecStart=zfs mount -a [Install] WantedBy=zfs.target |