mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Restart web servers before beginning tests
This commit is contained in:
parent
ff3ade84ce
commit
595e515518
2 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue