mirror_zfs/etc/systemd/system
Michael Niewöhner e03b25a564 Fix systemd-import services
On debian, systemd complains about missing /bin/awk because it
actually is located at /usr/bin/awk. It is not a good idea to
hardcode binary paths because different linux distros use different
paths. According to systemd's man page it is absolutely safe to
miss paths for binaries located at standard locations (/bin,
/sbin, /usr/bin, ...).

Further, replace this more or less complicated awk command by
grep.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Issue #8510
2019-03-29 15:17:23 -07:00
..
.gitignore Add systemd unit files for ZFS startup 2014-02-05 12:25:30 -08:00
50-zfs.preset.in Cleanup systemd dependencies 2017-11-08 09:39:15 -08:00
Makefile.am systemd zfs-import.target and documentation 2017-10-30 13:18:26 -07:00
zfs-import-cache.service.in Fix systemd-import services 2019-03-29 15:17:23 -07:00
zfs-import-scan.service.in Fix systemd-import services 2019-03-29 15:17:23 -07:00
zfs-import.target.in Cleanup systemd dependencies 2017-11-08 09:39:15 -08:00
zfs-mount.service.in Cleanup systemd dependencies 2017-11-08 09:39:15 -08:00
zfs-share.service.in ZFS mounted NFSv3 shares fail lock reclaims 2019-02-15 14:40:16 -08:00
zfs-zed.service.in Add kernel module auto-loading 2018-03-13 10:45:55 -07:00
zfs.target.in Systemd configuration fixes 2016-05-27 11:54:29 -07:00