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 /contrib/systemd/matrix-synapse.service | |
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 'contrib/systemd/matrix-synapse.service')
-rw-r--r-- | contrib/systemd/matrix-synapse.service | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/systemd/matrix-synapse.service b/contrib/systemd/matrix-synapse.service index 595b69916c..38d369ea3d 100644 --- a/contrib/systemd/matrix-synapse.service +++ b/contrib/systemd/matrix-synapse.service @@ -14,7 +14,9 @@ Description=Synapse Matrix homeserver [Service] -Type=simple +Type=notify +NotifyAccess=main +ExecReload=/bin/kill -HUP $MAINPID Restart=on-abort User=synapse |