X-Git-Url: https://vcs.fsf.org/?p=fai-configs.git;a=blobdiff_plain;f=files%2Fetc%2Finit.d%2Frequest-letsencrypt%2FDEFAULT;h=f7d2d904dae892864b523ad5b0a958f6c40a6bd0;hp=b0081a059f9f6adddf30f0c0bd2785fb2d1f0de3;hb=1367fe944e2dd9fa02eee63c62ffe4e2a078f116;hpb=ef9a35773559a0d7102cefc7d61c4128921e4276 diff --git a/files/etc/init.d/request-letsencrypt/DEFAULT b/files/etc/init.d/request-letsencrypt/DEFAULT index b0081a0..f7d2d90 100755 --- a/files/etc/init.d/request-letsencrypt/DEFAULT +++ b/files/etc/init.d/request-letsencrypt/DEFAULT @@ -1,7 +1,7 @@ #!/bin/bash -if [ ! -d /etc/letsencrypt/archive/$HOSTNAME ]; then +if [ ! -d /etc/letsencrypt/archive/HOSTNAME_TOKEN ]; then cd /srv/letsencrypt - /letsencrypt-auto certonly --standalone --agree-tos --email $LETSENCRYPT_EMAIL -d $HOSTNAME -d $SERVERNAME + /letsencrypt-auto certonly --standalone --agree-tos --email LETSENCRYPT_EMAIL_TOKEN -d HOSTNAME_TOKEN -d SERVERNAME_TOKEN fi