1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/matrix/files/synapse.service
Jan Alexander Steffens (heftig) 3fa35b7609
matrix: Update synapse to 0.18.0
Add federation_reader as a another worker.
2020-07-31 00:06:51 +02:00

24 lines
500 B
SYSTEMD

[Unit]
Description=Synapse Matrix homeserver
Requires=postgresql.service redis.service
After=network.target postgresql.service
[Service]
Type=notify
NotifyAccess=main
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abort
User=synapse
WorkingDirectory=~
ExecStart=/var/lib/synapse/venv/bin/python -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
SyslogIdentifier=synapse
Environment=LD_PRELOAD=/usr/lib/libjemalloc.so
[Install]
WantedBy=multi-user.target
# vim:set ft=systemd: