Osselbot/src/bot-start.sh
2020-04-05 08:14:37 -04:00

13 lines
203 B
Bash
Executable File

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