mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-04 03:48:55 +02:00
fix strongswan pidfile
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user