units/systemd-validatefs@.service: FailureAction= is a [Unit] knob

This commit is contained in:
Mike Yuan
2025-03-31 19:23:51 +02:00
parent 28bae3dbe3
commit 0a7d86d53d
+1 -1
View File
@@ -15,9 +15,9 @@ BindsTo=%i.mount
Conflicts=shutdown.target Conflicts=shutdown.target
After=%i.mount After=%i.mount
Before=shutdown.target systemd-pcrfs@%i.service systemd-quotacheck@%i.service systemd-growfs@%i.service Before=shutdown.target systemd-pcrfs@%i.service systemd-quotacheck@%i.service systemd-growfs@%i.service
FailureAction=reboot-immediate
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart={{LIBEXECDIR}}/systemd-validatefs --root=auto %f ExecStart={{LIBEXECDIR}}/systemd-validatefs --root=auto %f
FailureAction=reboot-immediate