certbot-duckdns/start-certbot-duckdns.sh

11 lines
265 B
Bash
Executable file

#!/usr/bin/env sh
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