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.06k stars 325 forks source link

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

Closed thimslugga closed 6 months 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 10 months ago

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