Procházet zdrojové kódy

web: fix running acme.sh on the right home directory

Saúl Ibarra Corretgé před 4 roky
rodič
revize
1d2c68a
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      web/rootfs/etc/cont-init.d/10-config

+ 1 - 0
web/rootfs/etc/cont-init.d/10-config

@@ -21,6 +21,7 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
             if [[ $LETSENCRYPT_USE_STAGING -eq 1 ]]; then
                 STAGING="--staging"
             fi
+            export LE_WORKING_DIR="/config/acme.sh"
             # TODO: move away from standalone mode to webroot mode.
             if ! /config/acme.sh/acme.sh \
                     $STAGING \