From 052d8eb77871e48d1ee240d6db49a830b87eef1e Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 26 Feb 2018 18:41:56 +0530 Subject: [PATCH] searx: Unconditionally enable proxy_uwsgi module Signed-off-by: Sunil Mohan Adapa --- actions/searx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/searx b/actions/searx index 16c35c22c..c8d3c8946 100755 --- a/actions/searx +++ b/actions/searx @@ -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'