mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 06:56:29 +00:00
Fix delaying systemd-timesyncd start (#2069)
* Fix delaying systemd-timesyncd Setting WantedBy=time-sync.target in a service.d config file does not clear previous assignments of WantedBy. This caused the services to still be pulled in by the sysinit.target, causing a ordering cycle and the system to not start essential services. * Remove sysinit.target from Before ordering
This commit is contained in:
parent
7a693bed46
commit
f8c8198bb9
@ -2,4 +2,5 @@
|
|||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
WantedBy=
|
||||||
WantedBy=time-sync.target
|
WantedBy=time-sync.target
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
RequiresMountsFor=/var/lib/systemd
|
RequiresMountsFor=/var/lib/systemd
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Before=
|
||||||
|
Before=time-set.target shutdown.target
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
WantedBy=
|
||||||
WantedBy=time-sync.target
|
WantedBy=time-sync.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user