mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-03 02:38:39 +08:00
Merge pull request #4904 from DDS-Derek/fix_gosu
This commit is contained in:
@@ -274,4 +274,8 @@ fi
|
||||
|
||||
# 启动后端服务
|
||||
INFO "→ 启动后端服务..."
|
||||
exec dumb-init gosu moviepilot:moviepilot ${VENV_PATH}/bin/python3 app/main.py
|
||||
if [ "${START_NOGOSU:-false}" = "true" ]; then
|
||||
exec dumb-init "${VENV_PATH}/bin/python3" app/main.py
|
||||
else
|
||||
exec dumb-init gosu moviepilot:moviepilot "${VENV_PATH}/bin/python3" app/main.py
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user