mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
998e211836
* Update debian packaging to debhelper version 12 Don't call dh_installinit anymore, because it has been deprecated, and use dh_installsystemd instead of dh_systemd_enable for the same reason. Signed-off-by: Jörg Behrmann <behrmann@physik.fu-berlin.de> * Drop preinst script It was used for reasons of interactions of dh_systemd_start and dh_installinit, which have both be deprecated Signed-off-by: Jörg Behrmann <behrmann@physik.fu-berlin.de> * Drop /etc/default file It was no longer being installed. * Remove debian/compat file This is managed by the control file nowadays
21 lines
824 B
Desktop File
21 lines
824 B
Desktop File
[Unit]
|
|
Description=Synapse Matrix homeserver
|
|
|
|
[Service]
|
|
Type=notify
|
|
User=matrix-synapse
|
|
WorkingDirectory=/var/lib/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
|
|
SyslogIdentifier=matrix-synapse
|
|
|
|
# The environment file is not shipped by default anymore and the below directive
|
|
# is for backwards compatibility only. Please use your homeserver.yaml if
|
|
# possible.
|
|
EnvironmentFile=-/etc/default/matrix-synapse
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|