mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
searx: Unconditionally enable proxy_uwsgi module
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
f10f0438df
commit
052d8eb778
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user