Skip to content

Commit afbb1ef

Browse files
authored
Merge pull request #3 from panubo/fix/run-before-cloud-init
Fix systemd run before cloud init
2 parents d1ded8c + 57046af commit afbb1ef

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

rpm/[email protected]

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[Unit]
22
Description=GOAT: EC2-%i attach utility
33
Documentation=https://github.com/sevagh/goat
4-
Requires=network.target remote-fs.target
5-
After=network.target remote-fs.target
4+
Requires=network.target
5+
After=network.target
6+
After=NetworkManager-wait-online.service
7+
Before=cloud-init.service
68
ConditionPathExists=/usr/sbin/goat
79

810
[Service]
@@ -14,4 +16,4 @@ ExecStart=/usr/sbin/goat -tagPrefix ${TAG_PREFIX} -logLevel ${LOG_LEVEL} "%i"
1416
SyslogIdentifier=goat
1517

1618
[Install]
17-
WantedBy=multi-user.target
19+
WantedBy=cloud-init.target

0 commit comments

Comments
 (0)