run.sh 184 B

12345678910
  1. #!/bin/sh
  2. cd /home/gamerx/UnoBot
  3. if ! ps -p `cat /home/gamerx/UnoBot/UnoBot.pid` > /dev/null
  4. then
  5. echo "Starting UnoBot"
  6. screen -d -m python2 /home/gamerx/UnoBot/DeeBot.py
  7. fi