cockpit: 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:10:13 -08:00 committed by James Valleroy
parent 241d3a98d5
commit 3c420c1488
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 1 additions and 1 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_wstunnel', kind='module')
# enable configuration for PHP-FPM
webserver.enable('php-fpm-freedombox', kind='config')

View File

@ -64,7 +64,6 @@ def subcommand_setup(arguments):
aug.save()
with action_utils.WebserverChange() as webserver_change:
webserver_change.enable('proxy_wstunnel', kind='module')
webserver_change.enable('cockpit-freedombox')
action_utils.service_restart('cockpit.socket')