mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-14 13:12:27 +00:00
16 lines
560 B
Django/Jinja
16 lines
560 B
Django/Jinja
[Unit]
|
|
Description="Matrix Synapse Server (synapse)"
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory={{ matrix_synapse_base_path }}
|
|
ExecStart={{ matrix_synapse_base_path }}/env/bin/python -m synapse.app.homeserver --config-path={{ matrix_synapse_base_path }}/homeserver.yaml --log-config={{ matrix_synapse_base_path }}/log.config
|
|
ExecStop={{ matrix_synapse_base_path }}/env/bin/synctl stop {{ matrix_synapse_base_path }}/homeserver.yaml
|
|
User=synapse
|
|
Group=synapse
|
|
Restart=always
|
|
StandardOutput=syslog
|
|
SyslogIdentifier=matrix_synapse
|
|
|
|
[Install]
|
|
WantedBy=default.target
|