Modularización de GKACHELE SaaS
This commit is contained in:
5
update-app-raspberry.sh
Normal file
5
update-app-raspberry.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Script para actualizar app en Raspberry (ejecutar desde cron)
|
||||
cd ~/gkachele-saas
|
||||
# Reiniciar servicio si existe, sino reiniciar proceso
|
||||
sudo systemctl restart gkachele-saas 2>/dev/null || (sudo pkill -f "python3 app.py" && sleep 1 && nohup python3 app.py > /tmp/app.log 2>&1 &)
|
||||
Reference in New Issue
Block a user