summaryrefslogtreecommitdiff
path: root/systemd/cloud-final.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/cloud-final.service')
-rw-r--r--systemd/cloud-final.service8
1 files changed, 4 insertions, 4 deletions
diff --git a/systemd/cloud-final.service b/systemd/cloud-final.service
index ef0f52b9..bfb08d4a 100644
--- a/systemd/cloud-final.service
+++ b/systemd/cloud-final.service
@@ -1,17 +1,17 @@
[Unit]
Description=Execute cloud user/final scripts
-After=network.target syslog.target cloud-config.service rc-local.service
-Requires=cloud-config.target
-Wants=network.target
+After=network-online.target cloud-config.service syslog.target rc-local.service
+Wants=network-online.target cloud-config.service
[Service]
Type=oneshot
ExecStart=/usr/bin/cloud-init modules --mode=final
RemainAfterExit=yes
TimeoutSec=0
+KillMode=process
# Output needs to appear in instance console output
StandardOutput=journal+console
[Install]
-WantedBy=multi-user.target
+WantedBy=cloud-init.target