[Unit] Description=Run extra script after /sysroot is mounted ConditionFileIsExecutable=/etc/extra-init After=s3-mount-root.service After=s3-extra-post-dmsetup.service Before=initrd-switch-root.target initrd-cleanup.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/etc/extra-init post-mount KillMode=process KillSignal=SIGTERM