Skip to content

Commit

Permalink
Avoid waiting for time synchronization too early (#2594)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
agners committed Jun 13, 2023
1 parent 84659c2 commit 276f531
Showing 1 changed file with 1 addition and 0 deletions.
@@ -1,4 +1,5 @@
[Unit]
After=network-online.target
Wants=network-online.target

[Install]
Expand Down

0 comments on commit 276f531

Please sign in to comment.