Trigger graceful reload (equivalent to SIGHUP). Returns: Dictionary with status
(self)
| 417 | } |
| 418 | |
| 419 | def reload(self) -> dict: |
| 420 | """ |
| 421 | Trigger graceful reload (equivalent to SIGHUP). |
| 422 | |
| 423 | Returns: |
| 424 | Dictionary with status |
| 425 | """ |
| 426 | # Send HUP to self to trigger reload |
| 427 | os.kill(self.arbiter.pid, signal.SIGHUP) |
| 428 | return {"status": "reloading"} |
| 429 | |
| 430 | def reopen(self) -> dict: |
| 431 | """ |
no outgoing calls