内网linux服务器一键更新启动脚本

This commit is contained in:
dy 2023-12-14 18:20:14 +08:00
parent 39362ea6ab
commit dcea046183

10
oneKeyStartPm2.sh Normal file
View File

@ -0,0 +1,10 @@
git fetch --all && git reset --hard origin/dev && git pull
npm run build_linux
cp src/config.json dist/
pm2 del heijiao_msg_s0
pm2 start dist/js_pm2.config.js