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:
parent
7c9005553b
commit
319c7645bf
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user