From: Yu Watanabe Date: Mon, 29 Sep 2025 13:26:54 +0000 (+0900) Subject: units: move FailureAction= to the correct section X-Git-Tag: v259-rc1~401 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c883d7591f1545315a0c8ae5c487342f3cf9178;p=thirdparty%2Fsystemd.git units: move FailureAction= to the correct section FailureAction= in [Service] is still supported but deprecated. Follow-up for e3d4148d50909119c4e9327e6ad96d3ca7f4661a. --- diff --git a/units/systemd-battery-check.service.in b/units/systemd-battery-check.service.in index ee87118a074..79f47a3acd0 100644 --- a/units/systemd-battery-check.service.in +++ b/units/systemd-battery-check.service.in @@ -18,9 +18,9 @@ AssertPathExists=/etc/initrd-release DefaultDependencies=no After=plymouth-start.service Before=initrd-root-device.target systemd-hibernate-resume.service +FailureAction=poweroff-force [Service] Type=oneshot RemainAfterExit=yes ExecStart={{LIBEXECDIR}}/systemd-battery-check -FailureAction=poweroff-force