summary refs log tree commit diff
path: root/debian/matrix-synapse.service
diff options
context:
space:
mode:
authorDexter Chua <dalcde@users.noreply.github.com>2020-08-27 17:39:13 +0800
committerGitHub <noreply@github.com>2020-08-27 10:39:13 +0100
commitcf2f6c3d22811314ecc9082574e6b6bef49ab696 (patch)
tree9106af2f6a5d8248993a28f20cb7aca61f047595 /debian/matrix-synapse.service
parentRemove remaining is_guest argument uses from get_room_data calls (#8181) (diff)
downloadsynapse-cf2f6c3d22811314ecc9082574e6b6bef49ab696.tar.xz
Update debian systemd service to use Type=notify (#8169)
This ensures systemctl start matrix-synapse returns only after synapse
is actually started, which is very useful for automated deployments.

Fixes #5761

Signed-off-by: Dexter Chua <dec41@srcf.net>
Diffstat (limited to '')
-rw-r--r--debian/matrix-synapse.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/matrix-synapse.service b/debian/matrix-synapse.service
index b0a8d72e6d..553babf549 100644
--- a/debian/matrix-synapse.service
+++ b/debian/matrix-synapse.service
@@ -2,7 +2,7 @@
 Description=Synapse Matrix homeserver
 
 [Service]
-Type=simple
+Type=notify
 User=matrix-synapse
 WorkingDirectory=/var/lib/matrix-synapse
 EnvironmentFile=/etc/default/matrix-synapse