feat: integrar servicio siax-app-DROP_SIGMAC_APP para SIAX Monitor y actualizar docs de infra

This commit is contained in:
2026-10-14 20:11:07 -05:00
parent 847f0cad7c
commit 7b7b45e767
8 changed files with 42 additions and 11 deletions
+5 -2
View File
@@ -64,7 +64,7 @@ subir() {
echo ""
echo "🚀 Subiendo binario, plantillas y scripts al servidor..."
copy "$SCRIPT_DIR/app_compartir" "$SCRIPT_DIR/init.sh" "$SCRIPT_DIR/.env.example" "$SERVIDOR:$REMOTE_DIR/"
copy "$SCRIPT_DIR/app_compartir" "$SCRIPT_DIR/init.sh" "$SCRIPT_DIR/.env.example" "$SCRIPT_DIR/siax-app-DROP_SIGMAC_APP.service" "$SERVIDOR:$REMOTE_DIR/"
copy "$SCRIPT_DIR/web/templates/"*.html "$SERVIDOR:$REMOTE_DIR/web/templates/"
remote "chmod 0755 '$REMOTE_DIR/app_compartir' '$REMOTE_DIR/init.sh'"
echo "✅ Archivos sincronizados en $REMOTE_DIR"
@@ -94,7 +94,10 @@ estado() {
echo ""
echo "📊 Estado del servidor en $SERVIDOR:"
remote "
if tmux has-session -t drop-sigmac-app 2>/dev/null; then
if systemctl is-active --quiet siax-app-DROP_SIGMAC_APP.service 2>/dev/null; then
echo '==> Servicio systemd siax-app-DROP_SIGMAC_APP (SIAX Monitor) activo:'
systemctl status siax-app-DROP_SIGMAC_APP.service --no-pager
elif tmux has-session -t drop-sigmac-app 2>/dev/null; then
echo '==> Sesión tmux drop-sigmac-app activa:'
tmux capture-pane -pt drop-sigmac-app | tail -n 25
elif systemctl is-active --quiet drop-sigmac-app.service 2>/dev/null; then