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

try renew every week

parent e5da50ca
No related branches found
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 +%d` */2 * /usr/bin/certbot renew --force-renewal"
line="0 1 * * `date +%u` /usr/bin/certbot renew --force-renewal"
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 to comment