mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
ikiwiki: Pre-enable necessary apache modules
To avoid restart during installation. Closes: #1482. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
cf06aa3d56
commit
33f54089b8
@ -133,10 +133,12 @@ def subcommand_setup(arguments):
|
||||
# enable mod_headers for HSTS
|
||||
webserver.enable('headers', kind='module')
|
||||
|
||||
# Various modules for authentication/authorization
|
||||
webserver.enable('authnz_ldap', kind='module')
|
||||
|
||||
# enable some critical modules to avoid restart while installing
|
||||
# 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')
|
||||
|
||||
|
||||
@ -140,8 +140,6 @@ def setup():
|
||||
os.makedirs(SITE_PATH)
|
||||
|
||||
with action_utils.WebserverChange() as webserver_change:
|
||||
webserver_change.enable('cgi', kind='module')
|
||||
webserver_change.enable('authnz_ldap', kind='module')
|
||||
webserver_change.enable('ikiwiki-plinth')
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user