xoxys.matrix/templates/etc/systemd/system/matrix.service.j2

20 lines
414 B
Plaintext
Raw Normal View History

2019-01-18 13:52:23 +00:00
#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