Skip to content
Snippets Groups Projects
Verified Commit ecae87c8 authored by David Beniamine's avatar David Beniamine
Browse files

Log certbot output

parent 1eaa11ad
Branches
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ apt-get update && apt-get install certbot
DOMAINS="dolibarr.${DOMAIN},nextcloud.${DOMAIN},tetras-back.${DOMAIN}"
ARGS="--hsts --must-staple --email=${SERVER_ADMIN} --domains=${DOMAINS}
--text --agree-tos"
line="0 1 * * `date +%u` /usr/bin/certbot renew --force-renewal"
line="0 1 * * `date +%u` /usr/bin/certbot renew --force-renewal > /var/log/certbot.log 2>&1"
if [ "${WEB_SERVER}" == "apache2" ]
then
additional_packages="python-certbot-apache"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment