From: Mike Yuan Date: Tue, 30 Sep 2025 14:32:48 +0000 (+0200) Subject: units/systemd-battery-check.service: split [Unit] options into groups X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F39178%2Fhead;p=thirdparty%2Fsystemd.git units/systemd-battery-check.service: split [Unit] options into groups --- diff --git a/units/systemd-battery-check.service.in b/units/systemd-battery-check.service.in index d4449f965c7..54a500a3a08 100644 --- a/units/systemd-battery-check.service.in +++ b/units/systemd-battery-check.service.in @@ -10,14 +10,17 @@ [Unit] Description=Early Battery Level Check Documentation=man:systemd-battery-check.service(8) + ConditionVirtualization=no ConditionDirectoryNotEmpty=/sys/class/power_supply/ ConditionKernelCommandLine=!systemd.battery_check=0 ConditionKernelCommandLine=!systemd.battery-check=0 AssertPathExists=/etc/initrd-release + DefaultDependencies=no After=plymouth-start.service Before=initrd-root-device.target systemd-hibernate-resume.service + FailureAction=poweroff-force [Service]