Skip to content

Commit 0ab4061

Browse files
committed
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 <[email protected]>
1 parent 9386092 commit 0ab4061

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ appRun() {
455455
echo "=== Begin Run Phase ==="
456456
echo "Starting Zulip using supervisor with \"/etc/supervisor/supervisord.conf\" config ..."
457457
echo ""
458+
unset HOME # avoid propagating HOME=/root to subprocesses not running as root
458459
exec supervisord -n -c "/etc/supervisor/supervisord.conf"
459460
}
460461
appInit() {

0 commit comments

Comments
 (0)