fix 自定义hosts权限问题
This commit is contained in:
parent
53844ac318
commit
380d1c2f58
2
start.sh
2
start.sh
@ -6,7 +6,7 @@ envsubst '${NGINX_PORT}' < /etc/nginx/nginx.template.conf > /etc/nginx/nginx.con
|
|||||||
groupmod -o -g ${PGID} moviepilot
|
groupmod -o -g ${PGID} moviepilot
|
||||||
usermod -o -u ${PUID} moviepilot
|
usermod -o -u ${PUID} moviepilot
|
||||||
# 更改文件权限
|
# 更改文件权限
|
||||||
chown -R moviepilot:moviepilot ${HOME} /app /config
|
chown -R moviepilot:moviepilot ${HOME} /app /config /etc/hosts
|
||||||
# 下载浏览器内核
|
# 下载浏览器内核
|
||||||
gosu moviepilot:moviepilot playwright install chromium
|
gosu moviepilot:moviepilot playwright install chromium
|
||||||
# 启动前端nginx服务
|
# 启动前端nginx服务
|
||||||
|
Loading…
x
Reference in New Issue
Block a user