aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dpdk/roles/config-dpdk/files/openvswitch-switch.service
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-10-24 12:21:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-24 12:21:03 +0000
commit95ce514ef39a87f69956e08d6948291fce4b32c7 (patch)
tree28473bae6067fb001e0bd6a89c9ec7ba060eb7f2 /plugins/dpdk/roles/config-dpdk/files/openvswitch-switch.service
parent145d0ff2367a58b40e39970e3cb253c52af05c01 (diff)
parent849d51833bdb16e8f04370270cd3e082ad9db928 (diff)
Merge "Config dpdk and ovs"
Diffstat (limited to 'plugins/dpdk/roles/config-dpdk/files/openvswitch-switch.service')
-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
+