]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - openvswitch/systemd/openvswitch.service
openvswitch: Fix unit file.
[people/ms/ipfire-3.x.git] / openvswitch / systemd / openvswitch.service
index 7aeae1915b4d7a588a96bfcd9edbb0f8697ea588..6186a8f1a81e4593e20505263d6446ff830fc658 100644 (file)
@@ -1,11 +1,11 @@
 [Unit]
 Description=Open vSwitch
-After=syslog.target network.target
+After=syslog.target
 
 [Service]
 Type=oneshot
 ExecStartPre=/usr/share/openvswitch/scripts/ovs-ctl enable-protocol --protocol=gre
-ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --system-id=random start
+ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --system-id=random start --delete-bridges
 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop
 RemainAfterExit=yes