ops: run initial deploy check during installation

This commit is contained in:
2026-09-05 10:17:48 -03:00
parent ab8e50823b
commit d76d8fb330
+8 -1
View File
@@ -93,9 +93,16 @@ UNIT
systemctl daemon-reload
systemctl enable --now dhv2-auto-deploy.timer
if ! systemctl start dhv2-auto-deploy.service; then
echo
echo "ERROR: la comprobación inicial de deploy falló."
journalctl -u dhv2-auto-deploy.service -n 140 --no-pager || true
exit 1
fi
echo
echo "============================================================"
echo " DH V2 AUTO-DEPLOY INSTALADO"
echo " DH V2 AUTO-DEPLOY INSTALADO Y VALIDADO"
echo "============================================================"
echo "Watcher: $WATCHER"
echo "Timer: dhv2-auto-deploy.timer"