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) 55837241c2
matrix: Update synapse to 1.117.0
2024-10-16 05:43:44 +02:00

28 lines
674 B
SYSTEMD

[Unit]
Description=Synapse Matrix homeserver
Requires=postgresql.service valkey.service
Wants=turnserver.service
After=network.target postgresql.service valkey.service turnserver.service
AssertPathExists=/etc/synapse/homeserver.yaml
[Service]
Type=notify
NotifyAccess=main
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abort
TimeoutStartSec=5min
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
Environment=PYTHONMALLOC=malloc
[Install]
WantedBy=multi-user.target
# vim:set ft=systemd sw=2 sts=-1 et: