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
This commit is contained in:
Christian Prior-Mamulyan
2025-04-27 23:10:12 +02:00
parent a687b281c5
commit 335150ade9

View File

@@ -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: