From a3318283012a05dbb79d8a7d06b1d2c0928df19c Mon Sep 17 00:00:00 2001 From: Keonik1 Date: Mon, 25 Aug 2025 22:07:40 +0300 Subject: [PATCH] fix unlink if default nginx conf is not exist - https://github.com/chatmail/relay/pull/614#discussion_r2297828830 --- docker/files/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/files/entrypoint.sh b/docker/files/entrypoint.sh index 3a2fb191..bce52a56 100755 --- a/docker/files/entrypoint.sh +++ b/docker/files/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash set -eo pipefail -unlink /etc/nginx/sites-enabled/default +unlink /etc/nginx/sites-enabled/default || true SETUP_CHATMAIL_SERVICE_PATH="${SETUP_CHATMAIL_SERVICE_PATH:-/lib/systemd/system/setup_chatmail.service}"