aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.03k stars 323 forks source link

Add Wants=network-online.target to amazon-ssm-agent.service #507

Closed thimslugga closed 1 month ago

thimslugga commented 1 year ago

Issue #, if available:

Description of changes:

Add Wants=network-online.target, see the following resource for systemd and proper usage of network-online.target.

https://systemd.io/NETWORK_ONLINE/ https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ziggythehamster commented 5 months ago

See also: https://github.com/aws/amazon-ssm-agent/pull/280