diff options
author | Erik Johnston <erik@matrix.org> | 2019-07-23 13:06:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 13:06:53 +0100 |
commit | 841b12867eba270d7e3725029a238e7be19a8b67 (patch) | |
tree | 900caae121144a3565de0d1aabc396c951337052 /synapse/app/homeserver.py | |
parent | Merge pull request #5740 from matrix-org/erikj/worker_flakey_tests (diff) | |
parent | Also update systemd-with-workers contrib examples (diff) | |
download | synapse-841b12867eba270d7e3725029a238e7be19a8b67.tar.xz |
Merge pull request #5732 from matrix-org/erikj/sdnotify
Add process hooks to tell systemd our state.
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 0c075cb3f1..34c3f5ee99 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -447,7 +447,7 @@ def setup(config_options): reactor.stop() sys.exit(1) - reactor.callWhenRunning(start) + reactor.addSystemEventTrigger("before", "startup", start) return hs |