Skip to content

Commit a1f36d2

Browse files
neko-nekommendonca3
authored andcommitted
Contribution from external customer - Add dependency of network-online.target of systemd
cr https://cr.amazon.com/r/6815596/
1 parent 427102b commit a1f36d2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packaging/linux/amazon-ssm-agent.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[Unit]
22
Description=amazon-ssm-agent
3+
After=network-online.target
34

45
[Service]
56
Type=simple
@@ -10,4 +11,4 @@ Restart=on-failure
1011
RestartSec=15min
1112

1213
[Install]
13-
WantedBy=network-online.target
14+
WantedBy=network-online.target

packaging/ubuntu/amazon-ssm-agent.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[Unit]
22
Description=amazon-ssm-agent
3+
After=network-online.target
34

45
[Service]
56
Type=simple
@@ -10,4 +11,4 @@ Restart=on-failure
1011
RestartSec=15min
1112

1213
[Install]
13-
WantedBy=network-online.target
14+
WantedBy=network-online.target

0 commit comments

Comments
 (0)