From: Guo Xiang Tan Date: Thu, 21 Apr 2016 02:47:33 +0000 (+0800) Subject: FIX: Work around le.sh killing "letsencrypt" script for containing the letters "nc". X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f951a4038f5aa50a148d95cae187e37f136dab0f;p=discourse_docker.git FIX: Work around le.sh killing "letsencrypt" script for containing the letters "nc". --- diff --git a/templates/web.letsencrypt.ssl.template.yml b/templates/web.letsencrypt.ssl.template.yml index d789b1d..97256c2 100644 --- a/templates/web.letsencrypt.ssl.template.yml +++ b/templates/web.letsencrypt.ssl.template.yml @@ -15,8 +15,10 @@ hooks: - install -d -m 0755 -g root -o root $LETSENCRYPT_DIR - cd /root/le && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./le.sh install + # Ideally, we want to name the file 'letsencrypt' but we can't until the following is fixed + # https://github.com/Neilpang/acme.sh/issues/164 - file: - path: /etc/runit/1.d/letsencrypt + path: /etc/runit/1.d/install_ssl_cert chmod: "+x" contents: | #!/bin/bash