mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:41:53 +02:00
where is the remaining output coming from?
This commit is contained in:
@@ -385,7 +385,7 @@ class Configurator(object):
|
|||||||
TODO: TEST
|
TODO: TEST
|
||||||
"""
|
"""
|
||||||
# Use check_output so the command will finish before reloading the server
|
# Use check_output so the command will finish before reloading the server
|
||||||
subprocess.check_output(["sudo", "a2enmod", "ssl"])
|
subprocess.check_output(["sudo", "a2enmod", "ssl"], stderr=open("/dev/null","w"))
|
||||||
subprocess.call(["sudo", "/etc/init.d/apache2", "reload"], stdout=open("/dev/null", "w"), stderr=open("/dev/null", "w"))
|
subprocess.call(["sudo", "/etc/init.d/apache2", "reload"], stdout=open("/dev/null", "w"), stderr=open("/dev/null", "w"))
|
||||||
"""
|
"""
|
||||||
a_conf = SERVER_ROOT + "mods-available/ssl.conf"
|
a_conf = SERVER_ROOT + "mods-available/ssl.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user