mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
28 lines
674 B
SYSTEMD
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:
|