revert "remove plugin param after updating"

I thought patch_uwsgi_settings would run every time the container starts (it only runs when there is a new version of uwsgi.ini), so this is no longer necessary. As uWSGI does not hard fail to start if it does not find the plugin, then the migration is not mandatory. A warn will pop up, but the user will already have been warned to update the uwsgi.ini file

This reverts commit 7c9005553b70d8537f69cdf84f70320d334b707d
This commit is contained in:
Ivan Gabaldon 2025-05-05 12:59:16 +02:00
parent 7c9005553b
commit 319c7645bf
No known key found for this signature in database
GPG Key ID: 075587C93FA67582

View File

@ -54,12 +54,6 @@ patch_uwsgi_settings() {
-e "s|workers = .*|workers = ${UWSGI_WORKERS:-%k}|g" \
-e "s|threads = .*|threads = ${UWSGI_THREADS:-4}|g" \
"${CONF}"
# migration from old monolithic container image to the new one
# https://github.com/searxng/searxng/pull/4721
sed -i \
-e "/plugin = python3/d" \
"${CONF}"
}
patch_searxng_settings() {