From 38edc214a3133696875a41dd63b1c2e0e5559df0 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 3 Oct 2020 13:13:26 -0700 Subject: [PATCH] app needs restart --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 219eeb1..611cf2a 100755 --- a/start.sh +++ b/start.sh @@ -9,7 +9,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs echo "==> Changing ownership" [[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data -[[ ! -f /app/data/env.sh ]] && echo -e "# Add custom minio configuration to this file\n\nexport CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'" > /app/data/env.sh +[[ ! -f /app/data/env.sh ]] && echo -e "# Add custom minio configuration to this file. Restart the app for changes to take effect.\n\nexport CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'" > /app/data/env.sh source /app/data/env.sh