Skip to content

Commit

Permalink
Contribution from external customer - Add dependency of network-onlin…
Browse files Browse the repository at this point in the history
…e.target of systemd

cr https://cr.amazon.com/r/6815596/
  • Loading branch information
neko-neko authored and mmendonca3 committed Mar 15, 2017
1 parent 427102b commit a1f36d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packaging/linux/amazon-ssm-agent.service
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[Unit]
Description=amazon-ssm-agent
After=network-online.target

[Service]
Type=simple
Expand All @@ -10,4 +11,4 @@ Restart=on-failure
RestartSec=15min

[Install]
WantedBy=network-online.target
WantedBy=network-online.target
3 changes: 2 additions & 1 deletion packaging/ubuntu/amazon-ssm-agent.service
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[Unit]
Description=amazon-ssm-agent
After=network-online.target

[Service]
Type=simple
Expand All @@ -10,4 +11,4 @@ Restart=on-failure
RestartSec=15min

[Install]
WantedBy=network-online.target
WantedBy=network-online.target

0 comments on commit a1f36d2

Please sign in to comment.