Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update debian systemd service to use Type=notify (#8169)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dalcde authored Aug 27, 2020
1 parent b8f20e4 commit cf2f6c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -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 ]
Expand Down
2 changes: 1 addition & 1 deletion debian/matrix-synapse.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf2f6c3

Please sign in to comment.