summary refs log tree commit diff
path: root/contrib/systemd/matrix-synapse.service
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-22 15:24:25 +0100
committerErik Johnston <erik@matrix.org>2019-07-22 15:24:25 +0100
commit17c27df6ea81f18da186ada5e3b79200c84f6d55 (patch)
tree86c7bcd9db37b865d883a8509de944e3e8fc849f /contrib/systemd/matrix-synapse.service
parentCall startup commands as system triggers. (diff)
downloadsynapse-17c27df6ea81f18da186ada5e3b79200c84f6d55.tar.xz
Update example systemd service file
Diffstat (limited to 'contrib/systemd/matrix-synapse.service')
-rw-r--r--contrib/systemd/matrix-synapse.service4
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