certbot-duckdns/start-certbot-duckdns.sh

14 lines
268 B
Bash
Raw Normal View History

2020-10-29 16:38:49 +01:00
#!/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