nginx_docker-swag/root/app/le-renew.sh
2021-02-13 15:25:43 -05:00

11 lines
300 B
Bash

#!/usr/bin/with-contenv bash
. /config/.donoteditthisfile.conf
echo "<------------------------------------------------->"
echo
echo "<------------------------------------------------->"
echo "cronjob running on "$(date)
echo "Running certbot renew"
certbot renew --noninteractive --no-self-upgrade