[Unit] Description=resize root file system Before=systemd-fsck-root.service DefaultDependencies=no [Service] Type=oneshot TimeoutSec=infinity ExecStart=/usr/sbin/rpi3-resizerootfs ExecStart=/bin/systemctl --no-reload disable %n [Install] RequiredBy=systemd-fsck-root.service