Shinobi/UPDATE.sh

8 lines
141 B
Bash

git reset --hard
git pull
npm install --unsafe-perm
chmod +x INSTALL/shinobi
# npm audit fix --force
# pm2 restart camera
# pm2 restart cron