From 335150ade9c0e898eee6b1d2b5c3204c9419fc94 Mon Sep 17 00:00:00 2001 From: Christian Prior-Mamulyan Date: Sun, 27 Apr 2025 23:10:12 +0200 Subject: [PATCH] fix(start_services): improve SearXNG container detection and startup clarity - Ensure docker exec does not fail hard when checking uwsgi.ini existence - Improve robustness of first-run detection for SearXNG service - Small cosmetic improvements to startup logs - No functional changes if container and file detection succeeds --- start_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_services.py b/start_services.py index bac2c1a..9a763f8 100644 --- a/start_services.py +++ b/start_services.py @@ -177,7 +177,7 @@ def check_and_fix_docker_compose_for_searxng(): # Check if uwsgi.ini exists inside the container container_check = subprocess.run( ["docker", "exec", container_name, "sh", "-c", "[ -f /etc/searxng/uwsgi.ini ] && echo 'found' || echo 'not_found'"], - capture_output=True, text=True, check=True + capture_output=True, text=True, check=False ) if "found" in container_check.stdout: