summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-11-10 10:29:24 -0500
committerScott Moser <smoser@brickies.net>2016-11-10 17:09:29 -0500
commite568aec31051674901047ee577f6e229785cbfc3 (patch)
tree433a3658053cf5ac8bbbcb800471a912f933a186 /systemd
parent134a6f5b15078ead8f6cb7d4e463c6f4d8488024 (diff)
downloadvyos-cloud-init-e568aec31051674901047ee577f6e229785cbfc3.tar.gz
vyos-cloud-init-e568aec31051674901047ee577f6e229785cbfc3.zip
systemd: replace Before=basic.target, dbus.target with sysinit.target
Per discussion on bug 1636912 and subsequent feedback on bug 1629797, using: Before=sysinit.target is a simpler solution than what we had implemented: Before=basic.target Before=dbus.target LP: #1629797
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-init.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
index 5c71b213..03ea87a0 100644
--- a/systemd/cloud-init.service
+++ b/systemd/cloud-init.service
@@ -8,11 +8,10 @@ Wants=sshd.service
After=cloud-init-local.service
After=networking.service
Requires=networking.service
-Before=basic.target
-Before=dbus.socket
Before=network-online.target
Before=sshd-keygen.service
Before=sshd.service
+Before=sysinit.target
Before=systemd-user-sessions.service
Conflicts=shutdown.target