diff options
author | Scott Moser <smoser@brickies.net> | 2016-11-10 10:29:24 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-11-10 17:09:29 -0500 |
commit | e568aec31051674901047ee577f6e229785cbfc3 (patch) | |
tree | 433a3658053cf5ac8bbbcb800471a912f933a186 /systemd | |
parent | 134a6f5b15078ead8f6cb7d4e463c6f4d8488024 (diff) | |
download | vyos-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.service | 3 |
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 |