mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
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:
parent
241d3a98d5
commit
3c420c1488
@ -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')
|
||||
|
||||
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user