Add -t to apache2ctl -D DUMP_RUN_CFG

Calling apache2ctl -D DUMP_RUN_CFG on Debian Wheezy (Apache 2.2) will
open a socket which breaks standalone auth. letsencrypt still won’t
work with apache 2.2 because it only returns „Syntax OK“.
Apache 2.4 works the same with or without -t.
This commit is contained in:
David Kreitschmann 2015-10-29 10:06:32 +01:00
parent 64073b234a
commit 39c83d17d7

View file

@ -122,7 +122,7 @@ class ApacheParser(object):
"""
try:
proc = subprocess.Popen(
[ctl, "-D", "DUMP_RUN_CFG"],
[ctl, "-t", "-D", "DUMP_RUN_CFG"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stdout, stderr = proc.communicate()