From cf904618107a4ead9a8477458ab612ab277ae4b5 Mon Sep 17 00:00:00 2001 From: Bert Driehuis Date: Mon, 5 Jul 2021 09:11:37 +0200 Subject: [PATCH] web: fix acme.sh pre and post hooks Fixes: https://github.com/jitsi/docker-jitsi-meet/issues/114 --- web/rootfs/etc/cont-init.d/10-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/rootfs/etc/cont-init.d/10-config b/web/rootfs/etc/cont-init.d/10-config index 3d55602..b44f27e 100644 --- a/web/rootfs/etc/cont-init.d/10-config +++ b/web/rootfs/etc/cont-init.d/10-config @@ -25,8 +25,8 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then $STAGING \ --issue \ --standalone \ - --pre-hook "if [[ -f /var/run/s6/services/nginx ]]; then s6-svc -d /var/run/s6/services/nginx; fi" \ - --post-hook "if [[ -f /var/run/s6/services/nginx ]]; then s6-svc -u /var/run/s6/services/nginx; fi" \ + --pre-hook "if [[ -d /var/run/s6/services/nginx ]]; then s6-svc -d /var/run/s6/services/nginx; fi" \ + --post-hook "if [[ -d /var/run/s6/services/nginx ]]; then s6-svc -u /var/run/s6/services/nginx; fi" \ -d $LETSENCRYPT_DOMAIN rc=$? if [[ $rc -eq 1 ]]; then