(self)
| 689 | return r.exit_code |
| 690 | |
| 691 | def apache_stop(self): |
| 692 | r = self._run_apachectl("stop") |
| 693 | if r.exit_code == 0: |
| 694 | timeout = timedelta(seconds=10) |
| 695 | return 0 if self.is_dead(self._http_base, timeout=timeout) else -1 |
| 696 | return r |
| 697 | |
| 698 | def apache_graceful_stop(self): |
| 699 | log.debug("stop apache") |