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-worker@.service
Jan Alexander Steffens (heftig) 55837241c2
matrix: Update synapse to 1.117.0
2024-10-16 05:43:44 +02:00

27 lines
640 B
SYSTEMD

[Unit]
Description=Synapse Matrix worker (%i)
BindsTo=synapse.service
After=synapse.service
ReloadPropagatedFrom=synapse.service
AssertPathExists=/etc/synapse/worker-%i.yaml
[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.generic_worker --config-path=/etc/synapse/homeserver.yaml --config-path=/etc/synapse/worker-%i.yaml
SyslogIdentifier=synapse
Environment=LD_PRELOAD=/usr/lib/libjemalloc.so
Environment=PYTHONMALLOC=malloc
[Install]
RequiredBy=synapse.service
# vim:set ft=systemd sw=2 sts=-1 et: