certbot-duckdns/start-certbot-duckdns.sh
2020-10-29 16:38:49 +01:00

13 lines
268 B
Bash
Executable file

#!/usr/bin/env sh
set -x
dhparamfile='/etc/letsencrypt/ssl-dhparams.pem'
ssl_includefile='/etc/letsencrypt/options-ssl-nginx.conf'
echo "Updating duckdns record"
duckdns
echo "Acquiering letsencrypt certificates"
certbot-duckdns
echo "Starting crond"
exec crond -f