intval3/scripts/update.sh

9 lines
98 B
Bash
Raw Normal View History

#!/bin/bash
cd /home/pi/intval3
sudo -u pi -i<< EOF
git pull
EOF
sudo pm2 restart process.json