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