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'