]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units/systemd-battery-check.service: split [Unit] options into groups 39178/head
authorMike Yuan <me@yhndnzj.com>
Tue, 30 Sep 2025 14:32:48 +0000 (16:32 +0200)
committerMike Yuan <me@yhndnzj.com>
Tue, 30 Sep 2025 14:34:54 +0000 (16:34 +0200)
units/systemd-battery-check.service.in

index d4449f965c7ebe0c3a0c226ec93a0ebbffeb64ed..54a500a3a0804a4e0a5c15385fbbb3b50f9422c3 100644 (file)
 [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]