fix: 重启更新

This commit is contained in:
DDSRem
2023-09-08 20:33:23 +08:00
parent 55dce26cb8
commit c8bc6a4618
5 changed files with 27 additions and 17 deletions

View File

@ -27,8 +27,8 @@ gosu moviepilot:moviepilot playwright install chromium
# 启动前端nginx服务
nginx
# 启动haproxy
if [ -f "/var/run/docker.sock" ]; then
haproxy -f /etc/haproxy/haproxy.cfg
if [ -S "/var/run/docker.sock" ]; then
haproxy -f /app/haproxy.cfg
fi
# 设置后端服务权限掩码
umask ${UMASK}