Osselbot/src/bot-start.sh
Alex Brow 73ab654452
ee
2020-04-04 23:18:24 -04:00

13 lines
189 B
Bash
Executable File

#!/usr/bin/env bash
echo "Updating"
#Update Node Based stuff
cd /home/pi/Osselbot/
n stable
npm upgrade
#update code
git pull --force
#Starts the bot
cd ./src
echo "STARTING"
node index.js