docker-swag/root/app/le-renew.sh

10 lines
413 B
Bash
Raw Normal View History

2020-08-03 11:00:14 -04:00
#!/usr/bin/with-contenv bash
2022-11-22 20:55:25 +00:00
# shellcheck shell=bash
2020-08-03 11:00:14 -04:00
echo "<------------------------------------------------->"
echo
echo "<------------------------------------------------->"
echo "cronjob running on $(date)"
2020-08-03 11:00:14 -04:00
echo "Running certbot renew"
2024-12-17 20:06:05 +00:00
certbot renew --non-interactive --config-dir /config/etc/letsencrypt --logs-dir /config/log/letsencrypt --work-dir /tmp/letsencrypt --config /config/etc/letsencrypt/cli.ini