certbot_plugin_gandi/dev/tools/initfile.sh
2018-03-15 15:19:54 +00:00

5 lines
290 B
Bash

pip install -e /tmp/work
printf 'certbot_plugin_gandi:dns_api_key=%s\n' $GANDI_API_KEY > /tmp/config.ini && chmod 400 /tmp/config.ini
echo 'Example: certbot certonly --test-cert -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials /tmp/config.ini -d domain.com'
exec /bin/sh