Fix zfs-share systemd unit file
Use the system /bin directory rather than the package install @bindir@. This allows --prefix=/usr/local to work as intended. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: loli10K <ezomori.nozomu@gmail.com> Closes #5559
This commit is contained in:
parent
0bc63d83f6
commit
181bd8cf53
|
@ -9,7 +9,7 @@ PartOf=smb.service
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStartPre=-@bindir@/rm -f /etc/dfs/sharetab
|
ExecStartPre=-/bin/rm -f /etc/dfs/sharetab
|
||||||
ExecStart=@sbindir@/zfs share -a
|
ExecStart=@sbindir@/zfs share -a
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue