initial retooling #1

Merged
naturallaw777 merged 1130 commits from staging-dev into stable 2026-05-21 08:10:11 -05:00
Showing only changes of commit 1651f8de37 - Show all commits
+2 -3
View File
@@ -2681,9 +2681,8 @@ async def api_service_detail(unit: str, icon: str | None = None):
elif status == "inactive":
# For enabled services that are inactive (e.g. socket-activated PHP-FPM),
# still check domain/port health so detail health is consistent.
has_domain_issues_inactive = has_domain_issues
has_port_issues_inactive = any(p["status"] == "closed" for p in port_statuses) if port_statuses else False
if has_domain_issues_inactive or has_port_issues_inactive:
has_port_issues = any(p["status"] == "closed" for p in port_statuses) if port_statuses else False
if has_domain_issues or has_port_issues:
health = "needs_attention"
else:
health = "inactive"