From 890ec463c230861c8db161e3f47623558c97a803 Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Mon, 27 Apr 2015 13:11:52 +0000 Subject: openstack: remove setup units from Wants section This way it is possible to avoid running the setup script in subsequent boots, either by disabling the setup service using systemctl, or removing the respective configuration file from /etc/openstack/. Change-Id: I9945e40eaebbc160bb21ca46f10a8b6121f66267 --- openstack/usr/lib/systemd/system/openstack-neutron-ovs-cleanup.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstack/usr/lib/systemd/system/openstack-neutron-ovs-cleanup.service') diff --git a/openstack/usr/lib/systemd/system/openstack-neutron-ovs-cleanup.service b/openstack/usr/lib/systemd/system/openstack-neutron-ovs-cleanup.service index 386f50dd..0a794838 100644 --- a/openstack/usr/lib/systemd/system/openstack-neutron-ovs-cleanup.service +++ b/openstack/usr/lib/systemd/system/openstack-neutron-ovs-cleanup.service @@ -2,8 +2,8 @@ Description=Neutron OVS cleanup ConditionPathExists=/etc/neutron/neutron.conf After=network-online.target openstack-neutron-config-setup.service openstack-neutron-db-setup.service openvswitch.service -Wants=network-online.target openstack-neutron-config-setup.service Before=openstack-neutron-plugin-openvswitch-agent.service +Wants=network-online.target ConditionFileIsExecutable=/usr/bin/neutron-ovs-cleanup [Service] -- cgit v1.2.1