evoacme: fix certbot verbosity
This commit is contained in:
parent
267f1ffc88
commit
f14ee0424e
|
@ -5,7 +5,7 @@
|
|||
[ -z "${SELF_SIGNED_DIR}" ] && SELF_SIGNED_DIR='/etc/ssl/self-signed'
|
||||
|
||||
find ${CRT_DIR} -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" -exec basename {} \; | while read vhost; do
|
||||
evoacme $vhost >/dev/null
|
||||
evoacme $vhost
|
||||
done
|
||||
|
||||
# Compatibility with older version of evoacme
|
||||
|
@ -13,5 +13,5 @@ find ${CRT_DIR} -maxdepth 1 -mindepth 1 -type f -name "*.crt" -exec basename {}
|
|||
[ -f /etc/apache2/ssl/${vhost}.conf ] && sed -i "s~^SSLCertificateFile.*$~SSLCertificateFile $SELF_SIGNED_DIR/${vhost}.pem~" /etc/apache2/ssl/${vhost}.conf
|
||||
[ -f /etc/nginx/ssl/${vhost}.conf ] && sed -i "s~^ssl_certificate[^_].*$~ssl_certificate $SELF_SIGNED_DIR/${vhost}.pem;~" /etc/nginx/ssl/${vhost}.conf
|
||||
rm ${CRT_DIR}/${vhost}.crt ${CRT_DIR}/${vhost}-chain.pem ${CRT_DIR}/${vhost}-fullchain.pem
|
||||
evoacme $vhost >/dev/null
|
||||
evoacme $vhost
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue