Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a weaker dependency type such as Wants for example? Doc link

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, this is NOT adding a dependency. Just a order if available - see here: https://serverfault.com/questions/812584/in-systemd-whats-the-difference-between-after-and-requires and as I understand the shared doc section you shared.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To use different words - this will cause GG to start after the clock is synced if such a service is present, if not it don't care. If sync fails it will delayed max 90s and then start (hopefully still successfully without a accurate clock)


[Service]
Type=simple
Expand Down
Loading