summaryrefslogtreecommitdiff
path: root/systemd/cloud-final.service
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-04-09 11:54:01 -0400
committerScott Moser <smoser@ubuntu.com>2015-04-09 11:54:01 -0400
commitf4789639af50ea631cf75af526ad013b05670caa (patch)
treea260c0bf1a988ee94418d5f7587c9c660aa3c9ea /systemd/cloud-final.service
parent8165000c3975db07cb5b8b29410635dd6c9345bd (diff)
downloadvyos-cloud-init-f4789639af50ea631cf75af526ad013b05670caa.tar.gz
vyos-cloud-init-f4789639af50ea631cf75af526ad013b05670caa.zip
systemd: use network-online instead of network.target (LP: #1440180)
don't declare a Wants/Requires on network.target; this is a passive target that should only be pulled in by implementors of the networking service. The requirement for network needs to be expressed as a dependency on network-online.target. LP: #1440180
Diffstat (limited to 'systemd/cloud-final.service')
-rw-r--r--systemd/cloud-final.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemd/cloud-final.service b/systemd/cloud-final.service
index bbcdf30b..c023ad94 100644
--- a/systemd/cloud-final.service
+++ b/systemd/cloud-final.service
@@ -1,7 +1,7 @@
[Unit]
Description=Execute cloud user/final scripts
-After=network.target cloud-config.service syslog.target rc-local.service
-Wants=network.target cloud-config.service
+After=network-online.target cloud-config.service syslog.target rc-local.service
+Wants=network-online.target cloud-config.service
[Service]
Type=oneshot