Avoid waiting for time synchronization too early (#2594)

In case a system takes a bit longer to boot (e.g. due to SWAP
initialization on first boot, especially on a system with lots of memory
and not very fast strage, e.g. an ODROID-M1 using an SD card) we might
time-out waiting for time synchronization before the time
synchronization service even got started. By ordering the
systemd-time-wait-sync.service after the network is online, the timeout
of this service should be started much later. With that the
systemd-time-wait-sync.service shouldn't timeout any longer.
This commit is contained in:
Stefan Agner 2023-06-14 00:07:25 +02:00
parent 9ca836f1c2
commit 1c2a61bc91
No known key found for this signature in database
GPG Key ID: 22D95D15D3A36E95

View File

@ -1,4 +1,5 @@
[Unit]
After=network-online.target
Wants=network-online.target
[Install]