Skip to content

Commit

Permalink
feat: greengrass.service.template: add After=systemd-time-wait-sync.s…
Browse files Browse the repository at this point in the history
…ervice

This will allow if systemd-time-wait-sync.service is enabled to wait for a
synced clock. If this is not enabled it will not wait.
Especially in systems without a RTC (like RPi) it will take some time after boot
till NTP will sync clock and if Greengrass is already started this time jump will
cause issues.
  • Loading branch information
thomas-roos committed Dec 6, 2024
1 parent 72da2a0 commit 3dbff9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/greengrass.service.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=Greengrass Core
After=network.target
After=systemd-time-wait-sync.service

[Service]
Type=simple
Expand Down

0 comments on commit 3dbff9f

Please sign in to comment.