copr-matrix-synapse/synapse.service
Michael Scherer d1eb576c71 Fix #1910740
Thanks to Václav Nováček for the suggestion
2021-07-18 06:57:14 +00:00

18 lines
478 B
Desktop File

[Unit]
Description=Synapse Matrix homeserver
[Service]
Type=notify
NotifyAccess=main
User=synapse
Group=synapse
WorkingDirectory=/var/lib/synapse
ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
ExecReload=/bin/kill -HUP $MAINPID
# EnvironmentFile=-/etc/sysconfig/synapse # Can be used to e.g. set SYNAPSE_CACHE_FACTOR
SyslogIdentifier=synapse
After=network-online.target postgresql.service
[Install]
WantedBy=multi-user.target