Skip to content
Snippets Groups Projects
Commit a214ba93 authored by Дамјан Георгиевски's avatar Дамјан Георгиевски Committed by Richard van der Hoff
Browse files

implement `reload` by sending the HUP signal (#4622)


* implement `reload` by sending the HUP signal

According to the 0.99 release info* synapse now uses the HUP signal to reload certificates:

> Synapse will now reload TLS certificates from disk upon SIGHUP. (#4495, #4524)

So the matrix-synapse.service unit file should include a reload directive.

Signed-off-by: default avatarДамјан Георгиевски <gdamjan@gmail.com>
parent 3bc23862
No related branches found
No related tags found
No related merge requests found
matrix-synapse-py3 (0.99.1) UNRELEASED; urgency=medium
* Added ExecReload= in service unit file to send a HUP signal
-- Damjan Georgievski <gdamjan@gmail.com> Thu, 14 Feb 2019 12:53:13 +0000
matrix-synapse-py3 (0.99.0) stable; urgency=medium
* New synapse release 0.99.0
......
......@@ -8,6 +8,7 @@ WorkingDirectory=/var/lib/matrix-synapse
EnvironmentFile=/etc/default/matrix-synapse
ExecStartPre=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ --generate-keys
ExecStart=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment