File synapse.service of Package matrix-synapse
[Unit] Description=Synapse Matrix homeserver # Uncomment the following line if you use Postgres database backend. #After=postgresql.service [Service] Type=notify NotifyAccess=main User=synapse Group=synapse EnvironmentFile=-/etc/sysconfig/synapse WorkingDirectory=/var/lib/synapse ExecStart=/usr/sbin/synapse ExecStop=/usr/sbin/synctl stop /etc/synapse/homeserver.yaml ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target