From 0ab4061d1b65601e0383dd1e0df01bd0b9779507 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 5 Mar 2025 13:16:01 -0800 Subject: [PATCH] Unset HOME for supervisord. This matches the way systemd would run supervisord, and avoids problems with uv finding the cache location. Signed-off-by: Anders Kaseorg --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 22fd3c7..cfbd3fc 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -455,6 +455,7 @@ appRun() { echo "=== Begin Run Phase ===" echo "Starting Zulip using supervisor with \"/etc/supervisor/supervisord.conf\" config ..." echo "" + unset HOME # avoid propagating HOME=/root to subprocesses not running as root exec supervisord -n -c "/etc/supervisor/supervisord.conf" } appInit() {