2018-12-28 20:43:36 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Synapse Matrix homeserver
|
|
|
|
|
|
|
|
[Service]
|
2019-10-12 16:14:06 +00:00
|
|
|
Type=notify
|
|
|
|
NotifyAccess=main
|
2018-12-28 20:43:36 +00:00
|
|
|
User=synapse
|
|
|
|
Group=synapse
|
|
|
|
WorkingDirectory=/var/lib/synapse
|
2021-06-16 00:39:27 +00:00
|
|
|
ExecStart=/usr/bin/synapse-homeserver --config-path=/etc/synapse/homeserver.yaml
|
2019-10-11 12:02:43 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2018-12-28 20:43:36 +00:00
|
|
|
# EnvironmentFile=-/etc/sysconfig/synapse # Can be used to e.g. set SYNAPSE_CACHE_FACTOR
|
2019-10-11 12:04:36 +00:00
|
|
|
SyslogIdentifier=synapse
|
2018-12-28 20:43:36 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|