From 2e9a84bc9b7510443c836bef6bccc911bb58de17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 15 Aug 2019 17:26:23 +0200 Subject: [PATCH] Fix init script without HOTRELOAD --- supervisor/tfw_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/tfw_init.sh b/supervisor/tfw_init.sh index 2006f09..4b38337 100644 --- a/supervisor/tfw_init.sh +++ b/supervisor/tfw_init.sh @@ -4,7 +4,7 @@ set -euo pipefail echo "export HISTFILE=\"${TFW_HISTFILE}\"" >> /tmp/bashrc && cat /tmp/bashrc >> "/home/${AVATAO_USER}/.bashrc" -if [[ -z "${HOTRELOAD}" ]]; then +if [[ -z "${HOTRELOAD-}" ]]; then for dir in "${TFW_LIB_DIR}/tfw" "/etc/nginx" "/etc/supervisor"; do chown -R root:root "${dir}" && chmod -R 700 "${dir}"; done