Rework the build and include coturn and riot web

This commit is contained in:
Vladan Popovic 2021-02-06 00:42:54 +01:00
parent d56dbacde6
commit d9214e47b5
11 changed files with 84 additions and 42 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=Synapse - Matrix homeserver
Requires=network-online.target
[Service]
Environment=LANG=en_US.UTF-8
Environment=SYNAPSE_LOG_LEVEL=DEBUG
Environment=PYTHONDONTWRITEBYTECODE=1
ExecStart=/usr/bin/synctl start /etc/matrix/homeserver.yaml --no-daemonize
ExecStop=/usr/bin/synctl stop /etc/matrix/homeserver.yaml
ExecReload=/opt/synapse/bin/synctl restart /etc/matrix/homeserver.yaml
StateDirectory=matrix
RuntimeDirectory=matrix
ConfigurationDirectory=matrix