Some fixes

This commit is contained in:
Benjamin Renard 2023-01-14 15:05:30 +01:00
parent 20f3b9e860
commit 3fbce9205a
2 changed files with 2 additions and 1 deletions

View file

@ -96,7 +96,7 @@ fi
if [ -d /srv/haproxy ] if [ -d /srv/haproxy ]
then then
# Start Haproxy # Start Haproxy
echo -n "Start OpenVPN ... " echo -n "Start Haproxy ... "
/usr/sbin/haproxy -f /srv/haproxy/haproxy.cfg /usr/sbin/haproxy -f /srv/haproxy/haproxy.cfg
echo done. echo done.
else else

View file

@ -18,6 +18,7 @@ tun-mtu 1500
# cp /srv/openvpn/secret.key /etc/openvpn/secret.key # cp /srv/openvpn/secret.key /etc/openvpn/secret.key
# chmod 400 /srv/openvpn/secret.key /etc/openvpn/secret.key # chmod 400 /srv/openvpn/secret.key /etc/openvpn/secret.key
secret secret.key secret secret.key
cipher AES-256-CBC
# Keepalive # Keepalive
ping 30 ping 30