10 lines
335 B
Bash
10 lines
335 B
Bash
|
|
#!/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
|