add tuned-2.14.0 and openvswitch-2.14.0
This commit is contained in:
26
net-misc/openvswitch/files/ovs-vswitchd-r3.service
Normal file
26
net-misc/openvswitch/files/ovs-vswitchd-r3.service
Normal file
@ -0,0 +1,26 @@
|
||||
[Unit]
|
||||
Description=Open vSwitch Daemon
|
||||
Documentation=man:ovs-vswitchd
|
||||
Wants=network.target
|
||||
Before=network.target network.service
|
||||
Requires=ovsdb-server.service
|
||||
After=ovsdb-server.service network-pre.target systemd-udev-settle.service
|
||||
ReloadPropagatedFrom=ovsdb-server.service
|
||||
AssertPathIsReadWrite=/var/run/openvswitch/db.sock
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Restart=on-failure
|
||||
Environment=HOME=/var/run/openvswitch
|
||||
EnvironmentFile=-/etc/conf.d/ovs-vswitchd
|
||||
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
|
||||
--no-ovsdb-server --no-monitor --system-id=random \
|
||||
--ovs-user=${OVS_USER_ID} start $OPTIONS
|
||||
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
|
||||
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server \
|
||||
--no-monitor --system-id=random --ovs-user=${OVS_USER_ID} \
|
||||
restart $OPTIONS
|
||||
TimeoutSec=300
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user