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>
This commit is contained in:
Dexter Chua
2020-08-27 17:39:13 +08:00
committed by GitHub
parent b8f20e4276
commit cf2f6c3d22
2 changed files with 7 additions and 1 deletions

View File

@@ -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