deploy: 2026-03-20 07:49
This commit is contained in:
9
restart_dashboard.sh
Normal file
9
restart_dashboard.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
pkill -f "streamlit run dashboard" 2>/dev/null
|
||||
sleep 2
|
||||
cd ~/ict-crypto-bot
|
||||
source venv/bin/activate
|
||||
nohup env SMC_CREDIT=0 python -m streamlit run dashboard/app.py --server.port 8502 --server.headless true --server.address 0.0.0.0 > logs/dashboard.log 2>&1 &
|
||||
echo "Dashboard restarted PID: $!"
|
||||
sleep 3
|
||||
ss -tlnp | grep 8502
|
||||
Reference in New Issue
Block a user