mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-08 00:01:27 +08:00
Merge pull request #4904 from DDS-Derek/fix_gosu
This commit is contained in:
@@ -274,4 +274,8 @@ fi
|
|||||||
|
|
||||||
# 启动后端服务
|
# 启动后端服务
|
||||||
INFO "→ 启动后端服务..."
|
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