xoxys.matrix/templates/etc/systemd/system/matrix.service.j2
2019-01-18 14:52:23 +01:00

20 lines
414 B
Django/Jinja

#jinja2: lstrip_blocks: True
## {{ ansible_managed }}
[Unit]
Description=Matrix Synapse service
After=network.target
[Service]
Type=forking
WorkingDirectory=/opt/synapse/
ExecStart=/opt/synapse/bin/synctl start
ExecStop=/opt/synapse/bin/synctl stop
ExecReload=/opt/synapse/bin/synctl restart
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=synapse
[Install]
WantedBy=multi-user.target