Files
crypto_news/restart_dashboard.sh

10 lines
335 B
Bash
Raw Permalink Normal View History

2026-03-20 07:49:42 +09:00
#!/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