summary refs log tree commit diff
path: root/debian
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
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 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/matrix-synapse.service2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index bdaf59e9b9..d20ca06b5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+matrix-synapse-py3 (1.19.0ubuntu1) UNRELEASED; urgency=medium
+
+  * Use Type=notify in systemd service
+
+ -- Dexter Chua <dec41@srcf.net>  Wed, 26 Aug 2020 12:41:36 +0000
+
 matrix-synapse-py3 (1.19.0) stable; urgency=medium
 
   [ Synapse Packaging team ]
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