[Unit] Description=resize root file system Before=local-fs-pre.target DefaultDependencies=no [Service] Type=oneshot TimeoutSec=infinity ExecStart=/usr/sbin/rpi-resizerootfs ExecStart=/bin/systemctl --no-reload disable %n [Install] RequiredBy=local-fs-pre.target