e29039dcbf6e1fce6f521268159ffdb755c17b90
[fai-configs.git] / files / etc / init.d / request-letsencrypt / DEFAULT
1 #!/bin/bash
2
3 if [ ! -d /etc/letsencrypt/archive/HOSTNAME_TOKEN ]; then
4     cd /srv/letsencrypt
5     ./letsencrypt-auto certonly --standalone --agree-tos --email LETSENCRYPT_EMAIL_TOKEN -d HOSTNAME_TOKEN -d SERVERNAME_TOKEN
6 fi
7