matrix-synapse/matrix-synapse.service
2024-07-30 17:10:47 +00:00

22 lines
464 B
Desktop File

[Unit]
Description=Synapse Matrix homeserver
[Service]
Type=simple
SyslogIdentifier=matrix-synapse
Restart=on-failure
RestartSec=3
User=synapse
Group=synapse
WorkingDirectory=/var/lib/matrix-synapse
ExecStart=@PYTHON_FLAVOR@ -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/
# Adjust the cache factor if necessary.
#Environment=SYNAPSE_CACHE_FACTOR=2.0
[Install]
WantedBy=multi-user.target