Gabeczkag commited on
Commit
f9d2e67
·
1 Parent(s): 3c7624f

Update bot

Browse files
Files changed (1) hide show
  1. termux_autoupdate.sh +2 -2
termux_autoupdate.sh CHANGED
@@ -15,7 +15,7 @@ ensure_bot() {
15
  fi
16
  }
17
 
18
- cd ~/BotDC && screen -dmS bot python bot.py
19
  log "Bot uruchomiony"
20
 
21
  while true; do
@@ -35,7 +35,7 @@ while true; do
35
 
36
  LOCAL_VER=$(head -1 au.version)
37
  log "Restartuje bota po aktualizacji..."
38
- screen -S bot -X quit 2>/dev/null
39
  sleep 1
40
  cd ~/BotDC && screen -dmS bot python bot.py
41
  fi
 
15
  fi
16
  }
17
 
18
+ cd ~/BotDC && python bot.py
19
  log "Bot uruchomiony"
20
 
21
  while true; do
 
35
 
36
  LOCAL_VER=$(head -1 au.version)
37
  log "Restartuje bota po aktualizacji..."
38
+ python bot.py
39
  sleep 1
40
  cd ~/BotDC && screen -dmS bot python bot.py
41
  fi