From 9414aa123d4d4352872f5d59616d405195b7ddc8 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 02:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0openresty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/initRisk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shell/initRisk b/shell/initRisk index dd8142b..be3dfc6 100644 --- a/shell/initRisk +++ b/shell/initRisk @@ -1,10 +1,12 @@ #!/bin/sh #运行自动部署服务端 -nohup node /app/RiskCloudRun/bin/www & +node /app/RiskCloudRun/bin/www & #运行web服务端 updateRisk RiskCloudMock #运行web客户端 updateRisk RiskCloudFontend #运行openresty -/usr/local/openresty/nginx/sbin/nginx \ No newline at end of file +/usr/local/openresty/nginx/sbin/nginx +#把自动部署服务端切换到前台进行,使容器不会停止运行 +fg \ No newline at end of file