]> git.proxmox.com Git - mirror_zfs.git/blobdiff - etc/systemd/system/zfs-import-cache.service.in
Systemd configuration fixes
[mirror_zfs.git] / etc / systemd / system / zfs-import-cache.service.in
index a567b3095b91eebf4d8ce493d66771535d0f5579..02184a6027ff5a324cb9c93d625f2f25580eeb21 100644 (file)
@@ -4,6 +4,7 @@ DefaultDependencies=no
 Requires=systemd-udev-settle.service
 After=systemd-udev-settle.service
 After=cryptsetup.target
+After=systemd-remount-fs.service
 Before=dracut-mount.service
 ConditionPathExists=@sysconfdir@/zfs/zpool.cache
 
@@ -12,3 +13,7 @@ Type=oneshot
 RemainAfterExit=yes
 ExecStartPre=/sbin/modprobe zfs
 ExecStart=@sbindir@/zpool import -c @sysconfdir@/zfs/zpool.cache -aN
+
+[Install]
+WantedBy=zfs-mount.service
+WantedBy=zfs.target