summaryrefslogtreecommitdiff
path: root/neutron-destroy-patch-ports.service
diff options
context:
space:
mode:
Diffstat (limited to 'neutron-destroy-patch-ports.service')
-rw-r--r--neutron-destroy-patch-ports.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/neutron-destroy-patch-ports.service b/neutron-destroy-patch-ports.service
new file mode 100644
index 0000000..130601e
--- /dev/null
+++ b/neutron-destroy-patch-ports.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=OpenStack Neutron Destroy Patch Ports
+After=syslog.target network.target openvswitch.service
+Before=neutron-openvswitch-agent.service
+
+[Service]
+Type=oneshot
+User=neutron
+ExecStart=/usr/bin/python -m neutron.cmd.destroy_patch_ports --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-openvswitch-agent
+PrivateTmp=false
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target