3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

Update update scripts and process files

This commit is contained in:
Dragory 2021-09-04 19:57:59 +03:00
parent 200e8ba89d
commit 6486dd7ca8
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
6 changed files with 62 additions and 11 deletions

16
update-backend-hotfix.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
# Load nvm
. ~/.nvm/nvm.sh
# Run hotfix update
cd backend
nvm use
git pull
npm run build
# Restart processes
cd ..
nvm use
pm2 restart process-bot.json
pm2 restart process-api.json