summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-neutron-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-neutron-server.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-neutron-server.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-neutron-server.service b/openstack/usr/lib/systemd/system/openstack-neutron-server.service
index 05dfb7a..3c0e1bd 100644
--- a/openstack/usr/lib/systemd/system/openstack-neutron-server.service
+++ b/openstack/usr/lib/systemd/system/openstack-neutron-server.service
@@ -1,7 +1,8 @@
[Unit]
Description=Neutron Api Server
-Wants=openstack-neutron-network-configuration-one-node.service network-online.target
-After=network-online.target openstack-neutron-setup.service openstack-neutron-network-configuration-one-node.service
+ConditionPathExists=/etc/neutron/neutron.conf
+Wants=openstack-neutron-network-configuration-one-node.service network-online.target openstack-neutron-config-setup.service
+After=openstack-neutron-network-configuration-one-node.service network-online.target openstack-neutron-config-setup.service openstack-neutron-db-setup.service
[Service]
Type=simple