1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00

fix strongswan pidfile

This commit is contained in:
kev 2016-06-29 05:43:41 +08:00
parent f87ad00ae2
commit b33593e7a8

@ -21,6 +21,6 @@ EXPOSE 500/udp 4500/udp
CMD set -xe \
&& /init.sh \
&& sysctl -w net.ipv4.ip_forward=1 \
&& rm -f /var/run/starter.charon.pid \
&& iptables -t nat -A POSTROUTING -s $VPN_SUBNET -o eth0 -j MASQUERADE \
&& ipsec start --nofork