SPB Git forge
29commits 1branches 0releases
684.0 KBsize
maindefault branch
2 days agolast push
Python 95.8% Shell 4.2%

registre : health_path de chaque app (consommé par maclustr-agentd v2)

simon-pierre boucher committed 19 days ago (Sep 5, 2026) parent 48db866

1 changed file +1 −0

modified mld/deploy.py +1 −0
@@ -178,6 +178,7 @@ def deploy(app, alias, reinstall=False, skip_sync=False):
178 178 # 5. santé
179 179 healthy, detail = health(app, alias, ip=ip, m=m)
180 180 registry.set_app(app, node=alias, ip=ip, port=m.get("port"), domain=m.get("domain"), dir=m["dir"], label=m.get("label") or app,
181 + health_path=m.get("health_path") or "/",
181 182 processes=manifest.pm2_names(m), launchd=manifest.launchd_labels(m), deployed=time.strftime("%Y-%m-%d %H:%M"),
182 183 status="online" if healthy else "unhealthy", health=detail)
183 184 registry.log(app, "deployed", node=alias, healthy=healthy)
184 185