Skip to content

Commit cf90461

Browse files
authored
web: fix acme.sh pre and post hooks
Fixes: jitsi#114
1 parent 65563d9 commit cf90461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/rootfs/etc/cont-init.d/10-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
2525
$STAGING \
2626
--issue \
2727
--standalone \
28-
--pre-hook "if [[ -f /var/run/s6/services/nginx ]]; then s6-svc -d /var/run/s6/services/nginx; fi" \
29-
--post-hook "if [[ -f /var/run/s6/services/nginx ]]; then s6-svc -u /var/run/s6/services/nginx; fi" \
28+
--pre-hook "if [[ -d /var/run/s6/services/nginx ]]; then s6-svc -d /var/run/s6/services/nginx; fi" \
29+
--post-hook "if [[ -d /var/run/s6/services/nginx ]]; then s6-svc -u /var/run/s6/services/nginx; fi" \
3030
-d $LETSENCRYPT_DOMAIN
3131
rc=$?
3232
if [[ $rc -eq 1 ]]; then

0 commit comments

Comments
 (0)