mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-09 16:36:34 +00:00
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 <anders@zulip.com>
This commit is contained in:
@@ -455,6 +455,7 @@ appRun() {
|
|||||||
echo "=== Begin Run Phase ==="
|
echo "=== Begin Run Phase ==="
|
||||||
echo "Starting Zulip using supervisor with \"/etc/supervisor/supervisord.conf\" config ..."
|
echo "Starting Zulip using supervisor with \"/etc/supervisor/supervisord.conf\" config ..."
|
||||||
echo ""
|
echo ""
|
||||||
|
unset HOME # avoid propagating HOME=/root to subprocesses not running as root
|
||||||
exec supervisord -n -c "/etc/supervisor/supervisord.conf"
|
exec supervisord -n -c "/etc/supervisor/supervisord.conf"
|
||||||
}
|
}
|
||||||
appInit() {
|
appInit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user