Commit 353b8399 by Desztics Armand

fixed fw-init service

parent a90b7cb1
...@@ -8,7 +8,7 @@ User=root ...@@ -8,7 +8,7 @@ User=root
Group=root Group=root
Type=oneshot Type=oneshot
ExecStart=/bin/bash -c "/bin/systemctl restart openvswitch{%if grains['os']=='Debian'%}-switch{%endif%} ; /sbin/ip netns add fw || true; ovs-vsctl del-br firewall || true; /sbin/ip netns exec fw sysctl -f /etc/sysctl.d/60-circle-firewall.conf ; /sbin/ip netns exec fw ip link set lo up" ExecStart=/bin/bash -c "/bin/systemctl restart openvswitch{% if grains['os'] == 'Debian' or grains['osfinger'] == 'Ubuntu-16.04' %}-switch{%endif%} ; /sbin/ip netns add fw || true; ovs-vsctl del-br firewall || true; /sbin/ip netns exec fw sysctl -f /etc/sysctl.d/60-circle-firewall.conf ; /sbin/ip netns exec fw ip link set lo up"
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment