From d706cbad209e9c3cdc885876d7cf0ea5e972e6f3 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 7 Apr 2021 18:06:18 +0800 Subject: [PATCH] dev --- shell/rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/rebuild.sh b/shell/rebuild.sh index ac0b8f8f..d277ede6 100644 --- a/shell/rebuild.sh +++ b/shell/rebuild.sh @@ -15,7 +15,7 @@ yarn build-back echo -e "重新build完成...\n" echo -e "重启服务...\n" -pm2 restart panel || pm2 start $dir_root/build/app.js -n panel 2>/dev/null +pm2 restart panel 2>/dev/null || pm2 start $dir_root/build/app.js -n panel nginx -s reload echo -e "重启服务完成...\n" \ No newline at end of file