mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
don't enable socache on apache 2.2
This commit is contained in:
parent
ce2ce697bd
commit
1bf9fbcc72
1 changed files with 3 additions and 2 deletions
|
|
@ -546,7 +546,8 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
"""
|
||||
if "ssl_module" not in self.parser.modules:
|
||||
self.enable_mod("ssl", temp=temp)
|
||||
|
||||
if self.version >= (2, 4) and "socache_shmcb_module" not in self.parser.modules:
|
||||
self.enable_mod("socache_shmcb", temp=temp)
|
||||
# Check for Listen <port>
|
||||
# Note: This could be made to also look for ip:443 combo
|
||||
if not self.parser.find_dir("Listen", port):
|
||||
|
|
@ -1320,7 +1321,7 @@ def _get_mod_deps(mod_name):
|
|||
|
||||
"""
|
||||
deps = {
|
||||
"ssl": ["setenvif", "mime", "socache_shmcb"]
|
||||
"ssl": ["setenvif", "mime"]
|
||||
}
|
||||
return deps.get(mod_name, [])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue