File matrix-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=simple
Restart=on-abort

User=synapse
Group=synapse

EnvironmentFile=-/etc/sysconfig/matrix-synapse
WorkingDirectory=/var/lib/matrix-synapse
ExecStart=/usr/bin/matrix-synapse
ExecStop=/usr/bin/synctl stop /etc/matrix-synapse/homeserver.yaml

[Install]
WantedBy=multi-user.target
openSUSE Build Service is sponsored by