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:
LOLi 2017-01-13 22:24:17 +01:00 committed by Brian Behlendorf
parent 0bc63d83f6
commit 181bd8cf53
1 changed files with 1 additions and 1 deletions

View File

@ -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]