run.sh 145 B

12345678910
  1. #!/bin/bash
  2. if [ "$(id -u)" -ne 0 ]; then
  3. echo "Error, please execute this script as root."
  4. exit
  5. fi
  6. user='pybot'
  7. sudo su $user -c ./bot.py