MCPcopy Create free account
hub / github.com/apache/httpd / apache_reload

Method apache_reload

test/pyhttpd/env.py:676–681  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

674 return r
675
676 def apache_reload(self):
677 r = self._run_apachectl("graceful")
678 if r.exit_code == 0:
679 timeout = timedelta(seconds=10)
680 return 0 if self.is_live(self._http_base, timeout=timeout) else -1
681 return r.exit_code
682
683 def apache_restart(self):
684 self.apache_stop()

Callers 2

test_core_002_01Method · 0.80
test_h2_106_01Method · 0.80

Calls 2

_run_apachectlMethod · 0.95
is_liveMethod · 0.95

Tested by 2

test_core_002_01Method · 0.64
test_h2_106_01Method · 0.64