From 75578ab1737f50e2dd32540438dfc6f2d991600a Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 4 Mar 2026 21:08:20 -0500 Subject: [PATCH] fix: remove unused health check function from localagi.sh --- ct/localagi.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ct/localagi.sh b/ct/localagi.sh index aeb5a3e08..7266af322 100644 --- a/ct/localagi.sh +++ b/ct/localagi.sh @@ -21,20 +21,6 @@ variables color catch_errors -function health_check() { - header_info - if [[ ! -d /opt/localagi ]]; then - msg_error "LocalAGI not found at /opt/localagi" - return 1 - fi - if ! systemctl is-active --quiet localagi; then - msg_error "LocalAGI service not running" - return 1 - fi - msg_ok "Health check passed: LocalAGI installed and service running" - return 0 -} - function update_script() { header_info check_container_storage @@ -92,8 +78,6 @@ function update_script() { systemctl restart localagi msg_ok "Started LocalAGI" - health_check - msg_ok "Updated Successfully" exit }