Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Schoen <schoen@eff.org>2016-08-11 00:57:44 +0300
committerSeth Schoen <schoen@eff.org>2016-08-11 00:57:44 +0300
commit595e51551866d39593e0e61f2a0dcbe7fa7ad844 (patch)
tree62b9149724ff651d8287cf745e1083f4b9ed76b2 /certbot-compatibility-test
parentff3ade84ce0c4b3653208a29767f279905110b2a (diff)
Restart web servers before beginning tests
Diffstat (limited to 'certbot-compatibility-test')
-rw-r--r--certbot-compatibility-test/certbot_compatibility_test/configurators/apache/common.py2
-rw-r--r--certbot-compatibility-test/certbot_compatibility_test/configurators/nginx/common.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/certbot-compatibility-test/certbot_compatibility_test/configurators/apache/common.py b/certbot-compatibility-test/certbot_compatibility_test/configurators/apache/common.py
index 0c53058de..4e612bbd5 100644
--- a/certbot-compatibility-test/certbot_compatibility_test/configurators/apache/common.py
+++ b/certbot-compatibility-test/certbot_compatibility_test/configurators/apache/common.py
@@ -58,7 +58,7 @@ class Proxy(configurators_common.Proxy):
self._prepare_configurator()
try:
- subprocess.check_call("apachectl -k start".split())
+ subprocess.check_call("apachectl -k restart".split())
except errors.Error:
raise errors.Error(
"Apache failed to load {0} before tests started".format(
diff --git a/certbot-compatibility-test/certbot_compatibility_test/configurators/nginx/common.py b/certbot-compatibility-test/certbot_compatibility_test/configurators/nginx/common.py
index 8e2899933..0d72605b7 100644
--- a/certbot-compatibility-test/certbot_compatibility_test/configurators/nginx/common.py
+++ b/certbot-compatibility-test/certbot_compatibility_test/configurators/nginx/common.py
@@ -62,7 +62,7 @@ class Proxy(configurators_common.Proxy):
self._prepare_configurator()
try:
- subprocess.check_call("nginx".split())
+ subprocess.check_call("service nginx reload".split())
except errors.Error:
raise errors.Error(
"Nginx failed to load {0} before tests started".format(