]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units/systemd-validatefs@.service: FailureAction= is a [Unit] knob 36910/head
authorMike Yuan <me@yhndnzj.com>
Mon, 31 Mar 2025 16:39:42 +0000 (18:39 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 31 Mar 2025 17:23:51 +0000 (19:23 +0200)
units/systemd-validatefs@.service.in

index f94482f9825c0b500064768f118a6517491042ce..d0a0f5f9b0864fb74a84a2e91533377feab976e4 100644 (file)
@@ -15,9 +15,9 @@ BindsTo=%i.mount
 Conflicts=shutdown.target
 After=%i.mount
 Before=shutdown.target systemd-pcrfs@%i.service systemd-quotacheck@%i.service systemd-growfs@%i.service
+FailureAction=reboot-immediate
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
 ExecStart={{LIBEXECDIR}}/systemd-validatefs --root=auto %f
-FailureAction=reboot-immediate