1
0
Fork 0

Adjusting Cron Jobs

This commit is contained in:
Joao M 2022-08-15 05:23:29 +00:00
parent bf2d3308a6
commit c86d4a02e9
4 changed files with 19 additions and 4 deletions

View file

@ -8,5 +8,4 @@ for CERTIFICATE in `find /etc/letsencrypt/live/* -type d`; do
cat /etc/letsencrypt/live/$CERTIFICATE/fullchain.pem /etc/letsencrypt/live/$CERTIFICATE/privkey.pem > /etc/haproxy/certs/$CERTIFICATE.pem
done
echo "Reloading certificates... "
/usr/sbin/haproxy -W -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -x /var/run/haproxy.sock -sf $(cat /run/haproxy.pid) &
touch /tmp/force-reload