deploy: 2026-03-20 07:49
This commit is contained in:
10
restart_bot.sh
Normal file
10
restart_bot.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
pkill -f "main.py --paper" 2>/dev/null
|
||||
sleep 2
|
||||
cd ~/ict-crypto-bot
|
||||
source venv/bin/activate
|
||||
rm -f logs/bot.log
|
||||
nohup env SMC_CREDIT=0 python main.py --paper > logs/bot.log 2>&1 &
|
||||
echo "Bot started PID: $!"
|
||||
sleep 8
|
||||
tail -30 logs/bot.log
|
||||
Reference in New Issue
Block a user