mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-15 13:32:26 +00:00
16 lines
505 B
Django/Jinja
16 lines
505 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
|
|
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
|