mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
units: simplify shutdown scripts
This commit is contained in:
parent
aeb70c8d60
commit
d4a80c1243
@ -8,7 +8,9 @@
|
||||
[Unit]
|
||||
Description=Update RTC With System Clock
|
||||
DefaultDependencies=no
|
||||
Before=poweroff.service reboot.service halt.service
|
||||
After=hwclock-load.service
|
||||
Before=shutdown.target
|
||||
Conflicts=hwclock-load.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -8,7 +8,8 @@
|
||||
[Unit]
|
||||
Description=Save Random Seed
|
||||
DefaultDependencies=no
|
||||
Before=poweroff.service reboot.service halt.service
|
||||
After=systemd-random-seed-load.service
|
||||
Before=shutdown.target
|
||||
Conflicts=systemd-random-seed-load.service
|
||||
|
||||
[Service]
|
||||
|
Loading…
Reference in New Issue
Block a user