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>2015-02-12 17:26:00 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-14 12:07:10 +0000
commitedeb456f6980896ad651d734ea3f3f2f3e034026 (patch)
treea70a3ca2c486ea7797b554a74d4bf8782730f326 /openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service
parent3c3ee6104062133af0b40cdcacf32e63dfdd0fce (diff)
downloaddefinitions-edeb456f6980896ad651d734ea3f3f2f3e034026.tar.gz
SPLITME: Add all Openstack
Diffstat (limited to 'openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service')
-rw-r--r--openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service b/openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service
new file mode 100644
index 00000000..5eaf8a30
--- /dev/null
+++ b/openstack/etc/systemd/system/openstack-neutron-ovs-cleanup.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Neutron OVS cleanup
+After=network-online.target openstack-neutron-setup.service
+ConditionFileIsExecutable=/usr/bin/neutron-ovs-cleanup
+
+[Service]
+Type=simple
+User=neutron
+ExecStart=/usr/bin/neutron-ovs-cleanup \
+ --log-file /var/log/neutron/ovs-cleanup.log \
+ --config-file /etc/neutron/neutron.conf --verbose
+
+[Install]
+WantedBy=multi-user.target