SHA256
1
0
forked from pool/openvswitch
openvswitch/openvswitch.service

16 lines
348 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Open vSwitch
After=network-pre.target
Before=network.service
[Service]
Type=oneshot
EnvironmentFile=-/etc/sysconfig/openvswitch
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl start \
--system-id=random $OPTIONS
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target