diff --git a/rpi3-resizerootfs.service b/rpi3-resizerootfs.service index 39c9d0c..02207e4 100644 --- a/rpi3-resizerootfs.service +++ b/rpi3-resizerootfs.service @@ -1,6 +1,6 @@ [Unit] Description=resize root file system -Before=systemd-fsck-root.service +Before=local-fs-pre.target DefaultDependencies=no [Service] @@ -10,4 +10,4 @@ ExecStart=/usr/sbin/rpi3-resizerootfs ExecStart=/bin/systemctl --no-reload disable %n [Install] -RequiredBy=systemd-fsck-root.service +RequiredBy=local-fs-pre.target