From f951a4038f5aa50a148d95cae187e37f136dab0f Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 21 Apr 2016 10:47:33 +0800 Subject: [PATCH] FIX: Work around le.sh killing "letsencrypt" script for containing the letters "nc". --- templates/web.letsencrypt.ssl.template.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1