mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
units: simplify shutdown scripts
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user