Fix nginx can not run without /run/nginx

Fix nginx can not run without /run/nginx
This commit is contained in:
phoenix 2021-11-23 12:21:25 +08:00 committed by GitHub
parent 5dd8d9df91
commit 66520996d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ link_shell
echo -e "======================1. 检测配置文件========================\n"
make_dir /etc/nginx/conf.d
make_dir /run/nginx
cp -fv $nginx_conf /etc/nginx/nginx.conf
cp -fv $nginx_app_conf /etc/nginx/conf.d/front.conf
pm2 l &>/dev/null