summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2018-12-19 15:06:12 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2018-12-19 15:06:56 -0600
commit7750fade80482bf075e56f4eabd52423c314fe69 (patch)
treea58003668826f6a4c4c6dbcc74686d30c66c8e03 /net-misc/openvswitch/files/ovsdb-server-r3.service
parentdev-python/ovs: 2.10.0 bump (diff)
downloadgentoo-7750fade80482bf075e56f4eabd52423c314fe69.tar.gz
gentoo-7750fade80482bf075e56f4eabd52423c314fe69.tar.bz2
gentoo-7750fade80482bf075e56f4eabd52423c314fe69.zip
net-misc/openvswitch: 2.10.1 bump
Closes: https://bugs.gentoo.org/673438 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-misc/openvswitch/files/ovsdb-server-r3.service')
-rw-r--r--net-misc/openvswitch/files/ovsdb-server-r3.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-misc/openvswitch/files/ovsdb-server-r3.service b/net-misc/openvswitch/files/ovsdb-server-r3.service
new file mode 100644
index 00000000000..a1d308478da
--- /dev/null
+++ b/net-misc/openvswitch/files/ovsdb-server-r3.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Open vSwitch Database Unit
+Documentation=man:ovsdb-server
+After=syslog.target network-pre.target
+Before=network.target network.service
+Wants=ovs-delete-transient-ports.service
+
+[Service]
+Type=forking
+Restart=on-failure
+EnvironmentFile=-/etc/conf.d/ovsdb-server
+ExecStartPre=/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch
+ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
+ --no-ovs-vswitchd --no-monitor --system-id=random \
+ --ovs-user=${OVS_USER_ID} \
+ start $OPTIONS
+ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd stop
+ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd \
+ --ovs-user=${OVS_USER_ID} \
+ --no-monitor restart $OPTIONS
+RuntimeDirectory=openvswitch
+RuntimeDirectoryMode=0755