summaryrefslogtreecommitdiff
path: root/openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-12-12 09:34:20 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:28 +0000
commit6f958f1b6f2bf9ef6d48d57970584f18e8e1a041 (patch)
tree62dca5a1145b73f876f5f895591c5289fd77e8e7 /openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service
parent91bca0532e8faf196623c8dc311a775aeca852f2 (diff)
downloaddefinitions-6f958f1b6f2bf9ef6d48d57970584f18e8e1a041.tar.gz
Strip openvswitch services and configuration from neutron
Openvswitch should have its own setup and daemon services independent of neutron. NOTE: This fixes the errors when neutron uses openvswitch commands as root because openvswitch services are run as root.
Diffstat (limited to 'openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service')
-rw-r--r--openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service b/openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service
index c52d587a..4079a41a 100644
--- a/openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service
+++ b/openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service
@@ -1,6 +1,7 @@
[Unit]
Description=Neutron OVS cleanup
-After=syslog.target network.target
+Requires=openvswitch.service
+After=syslog.target network.target openvswitch.service
[Service]
Type=simple