summaryrefslogtreecommitdiffstats
path: root/plugins/dpdk/roles/config-dpdk/files
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dpdk/roles/config-dpdk/files')
-rw-r--r--plugins/dpdk/roles/config-dpdk/files/openvswitch-switch.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/dpdk/roles/config-dpdk/files/openvswitch-switch.service b/plugins/dpdk/roles/config-dpdk/files/openvswitch-switch.service
new file mode 100644
index 00000000..cb46c341
--- /dev/null
+++ b/plugins/dpdk/roles/config-dpdk/files/openvswitch-switch.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=openvswitch-switch
+
+[Service]
+User=root
+Group=root
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/opt/start_ovs_vswitchd.sh
+
+TimeoutSec=120
+#Restart=on-failure
+#RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
+