mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
searx: Unconditionally enable proxy_uwsgi module
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -69,7 +69,6 @@ def _copy_uwsgi_configuration():
|
||||
|
||||
if not os.path.exists(os.path.join(destination, 'searx.ini')):
|
||||
shutil.copy(example_config, destination)
|
||||
action_utils.webserver_enable('proxy_uwsgi', kind='module')
|
||||
|
||||
|
||||
def _generate_secret_key(settings):
|
||||
@@ -119,6 +118,7 @@ def write_settings(settings):
|
||||
def subcommand_setup(_):
|
||||
"""Post installation actions for Searx"""
|
||||
_copy_uwsgi_configuration()
|
||||
action_utils.webserver_enable('proxy_uwsgi', kind='module')
|
||||
|
||||
if not os.path.exists(SETTINGS_FILE):
|
||||
example_settings_file = '/usr/share/doc/searx/examples/settings.yml.gz'
|
||||
|
||||
Reference in new issue
Block a user