units/systemd-validatefs@.service: FailureAction= is a [Unit] knob
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user