Retry update.sh

This commit is contained in:
mmcwilliams 2018-01-12 17:46:54 -05:00
parent 64adc6cc86
commit 66b3711118
1 changed files with 2 additions and 4 deletions

View File

@ -1,9 +1,7 @@
#!/bin/bash
cd /home/pi/intval3
sudo -u pi -i<< EOF
git pull
cd /home/pi/intval3 && git pull
EOF
sudo pm2 restart process.json
cd /home/pi/intval3 && sudo pm2 restart process.json