radicale, searx: Pre-enable necessary apache modules

To avoid Apache restart during installation.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2019-02-26 18:11:37 -08:00 committed by James Valleroy
parent 3c420c1488
commit c50e322cdb
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
3 changed files with 1 additions and 2 deletions

View File

@ -136,6 +136,7 @@ def subcommand_setup(arguments):
# FreedomBox applications.
webserver.enable('cgi', kind='module')
webserver.enable('authnz_ldap', kind='module')
webserver.enable('proxy_uwsgi', kind='module')
webserver.enable('proxy_wstunnel', kind='module')
# enable configuration for PHP-FPM

View File

@ -129,7 +129,6 @@ def subcommand_enable(_):
os.makedirs(COLLECTIONS_PATH)
action_utils.service_disable('radicale')
action_utils.uwsgi_enable('radicale')
action_utils.webserver_enable('proxy_uwsgi', kind='module')
else:
action_utils.service_enable('radicale')
action_utils.service_restart('radicale')

View File

@ -135,7 +135,6 @@ def subcommand_setup(_):
"""Post installation actions for Searx"""
_copy_uwsgi_configuration()
_update_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'