copr-matrix-synapse/synapse.service

18 lines
463 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Synapse Matrix homeserver
After=network-online.target postgresql.service
[Service]
2019-10-12 16:14:06 +00:00
Type=notify
NotifyAccess=main
User=synapse
Group=synapse
WorkingDirectory=/var/lib/synapse
2022-01-04 20:23:26 +00:00
ExecStart=/usr/bin/synapse_homeserver --config-path=/etc/synapse/homeserver.yaml
ExecReload=/bin/kill -HUP $MAINPID
# EnvironmentFile=-/etc/sysconfig/synapse # Can be used to e.g. set SYNAPSE_CACHE_FACTOR
SyslogIdentifier=synapse
[Install]
WantedBy=multi-user.target