mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02:00
units/systemd-battery-check.service: split [Unit] options into groups
This commit is contained 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]
|
||||
|
Reference in New Issue
Block a user