FIX: Work around le.sh killing "letsencrypt" script for containing the letters "nc".
authorGuo Xiang Tan <tgx_world@hotmail.com>
Thu, 21 Apr 2016 02:47:33 +0000 (10:47 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Thu, 21 Apr 2016 03:02:30 +0000 (11:02 +0800)
templates/web.letsencrypt.ssl.template.yml

index d789b1d0c24641fa13fddabb7c1360cffeec5a71..97256c21b5faf73088bd09af9764e11fee1a4f03 100644 (file)
@@ -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