diff --git a/rootfs-overlay/etc/systemd/system/local-fs-pre.target.wants/nimux-zfs-mount.service b/rootfs-overlay/etc/systemd/system/local-fs-pre.target.wants/nimux-zfs-mount.service deleted file mode 120000 index a2c1d47..0000000 --- a/rootfs-overlay/etc/systemd/system/local-fs-pre.target.wants/nimux-zfs-mount.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/nimux-zfs-mount.service \ No newline at end of file diff --git a/rootfs-overlay/usr/lib/systemd/system/nimux-zfs-mount.service b/rootfs-overlay/usr/lib/systemd/system/nimux-zfs-mount.service index 8d34a09..2832fb7 100644 --- a/rootfs-overlay/usr/lib/systemd/system/nimux-zfs-mount.service +++ b/rootfs-overlay/usr/lib/systemd/system/nimux-zfs-mount.service @@ -1,11 +1,9 @@ [Unit] Description=Nimux early mount: ZFS import + overlay for /etc and /home DefaultDependencies=no -After=systemd-udev-settle.service -Wants=systemd-udev-settle.service -Before=local-fs-pre.target local-fs.target -Wants=local-fs-pre.target +Before=sysinit.target Conflicts=shutdown.target +Wants=sysinit.target [Service] Type=oneshot @@ -19,5 +17,5 @@ TimeoutStartSec=30s [Install] -WantedBy=local-fs-pre.target +WantedBy=sysinit.target