feat: 优化重启

This commit is contained in:
DDSRem
2023-09-08 19:49:10 +08:00
parent 091df01b7c
commit ae3b73a73f
4 changed files with 59 additions and 2 deletions

View File

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