内网linux服务器一键更新启动脚本
This commit is contained in:
parent
39362ea6ab
commit
dcea046183
10
oneKeyStartPm2.sh
Normal file
10
oneKeyStartPm2.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user