2019-02-03 23:37:40 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Synapse - Matrix homeserver
|
|
|
|
Requires=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=LANG=en_US.UTF-8
|
|
|
|
Environment=SYNAPSE_LOG_LEVEL=DEBUG
|
|
|
|
Environment=PYTHONDONTWRITEBYTECODE=1
|
|
|
|
|
2021-02-01 22:08:22 +01:00
|
|
|
ExecStart=/usr/bin/synctl start /etc/matrix/homeserver.yaml --no-daemonize
|
2019-02-03 23:37:40 +01:00
|
|
|
ExecStop=/usr/bin/synctl stop /etc/matrix/homeserver.yaml
|
2021-02-06 00:42:54 +01:00
|
|
|
ExecReload=/opt/synapse/bin/synctl restart /etc/matrix/homeserver.yaml
|
2019-02-03 23:37:40 +01:00
|
|
|
|
2021-02-06 00:42:54 +01:00
|
|
|
StateDirectory=matrix
|
2021-02-01 22:08:22 +01:00
|
|
|
RuntimeDirectory=matrix
|
2021-02-06 00:42:54 +01:00
|
|
|
ConfigurationDirectory=matrix
|