feat(ops): ajouter supervision automatique des applications

This commit is contained in:
Manus AI
2026-08-18 07:31:02 +00:00
parent 9500ca2d70
commit 5e8d4796d4
5 changed files with 208 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Installe la supervision depuis une copie versionnée du dépôt manus-dashboard.
set -Eeuo pipefail
readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
install -D -m 0750 "${SCRIPT_DIR}/healthcheck-apps.sh" /opt/manus-deploy/scripts/healthcheck-apps.sh
install -D -m 0644 "${SCRIPT_DIR}/manus-apps-health.service" /etc/systemd/system/manus-apps-health.service
install -D -m 0644 "${SCRIPT_DIR}/manus-apps-health.timer" /etc/systemd/system/manus-apps-health.timer
systemctl daemon-reload
systemctl enable --now manus-apps-health.timer
systemctl start manus-apps-health.service
systemctl status manus-apps-health.service --no-pager