]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - openvswitch/systemd/openvswitch.service
openvswitch: Fix unit file.
[people/ms/ipfire-3.x.git] / openvswitch / systemd / openvswitch.service
1 [Unit]
2 Description=Open vSwitch
3 After=syslog.target
4
5 [Service]
6 Type=oneshot
7 ExecStartPre=/usr/share/openvswitch/scripts/ovs-ctl enable-protocol --protocol=gre
8 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --system-id=random start --delete-bridges
9 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop
10 RemainAfterExit=yes
11
12 [Install]
13 WantedBy=multi-user.target
14