20 lines
414 B
Django/Jinja
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
|