From a5c85d465cd07c064a93d8ad3a6c02fa4c381998 Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 4 Mar 2026 15:52:02 -0500 Subject: [PATCH] fix: remove service recovery logic from LocalAGI installation script --- install/localagi-install.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/install/localagi-install.sh b/install/localagi-install.sh index baad95c1d..5e1b773c0 100644 --- a/install/localagi-install.sh +++ b/install/localagi-install.sh @@ -14,20 +14,6 @@ setting_up_container network_check update_os -LOCALAGI_SERVICE_NEEDS_RECOVERY=0 - -function cleanup_localagi_service() { - if [[ "${LOCALAGI_SERVICE_NEEDS_RECOVERY:-0}" == "1" ]] && ! systemctl is-active -q localagi; then - msg_warn "LocalAGI service is not active; attempting recovery start" - if systemctl start localagi; then - msg_ok "Recovered LocalAGI service" - else - msg_error "Failed to recover LocalAGI service" - fi - fi -} - -trap cleanup_localagi_service EXIT msg_info "Installing Dependencies" $STD apt install -y build-essential @@ -96,7 +82,6 @@ if ! systemctl is-active -q localagi; then msg_error "Failed to start LocalAGI service" exit 1 fi -LOCALAGI_SERVICE_NEEDS_RECOVERY=0 motd_ssh customize