site/other/renew.sh

14 lines
425 B
Bash
Raw Normal View History

#!/bin/bash
# Need to try next with arg --user 1000:1000 Nope, fails internall even with extra args
# For me, use certbot@hod
# RENEW SCRIPT
docker run -it --rm --name certbot \
-v "/home/finn/d/cert/etc/letsencrypt:/etc/letsencrypt" \
-v "/home/finn/d/cert/var/lib/letsencrypt:/var/lib/letsencrypt" \
certbot/dns-linode renew \
--dns-linode \
--dns-linode-credentials /etc/letsencrypt/ddnscred.txt \
--dry-run