Commit f6ab1d10 authored by Eric's avatar Eric

add debug log (to check if nginx is stopped after ssl certs renew)

parent 02e07ec2
......@@ -2,11 +2,19 @@
# Script Licence: GNU/GPL v3
# 2017 - Eric Seigne <eric.seigne@abuledu.org>
# automatic renew let's encrypt certificates
echo "======================= automatic renew let's encrypt certificates (start) ===================== "
# http-01 is used -> nginx help
echo " starting nginx ..."
service nginx start
echo " starting dehydrated ..."
dehydrated -c
service postfix reload
echo " stop nginx ..."
service nginx stop
echo " reload postfix ..."
service postfix reload
echo "======================= automatic renew let's encrypt certificates (end) ===================== "
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 to comment