2019-01-18 13:52:23 +00:00
|
|
|
#jinja2: lstrip_blocks: True
|
2019-08-12 15:29:37 +00:00
|
|
|
{{ ansible_managed | comment }}
|
2019-01-18 13:52:23 +00:00
|
|
|
[Unit]
|
2019-01-19 00:30:45 +00:00
|
|
|
Description=Synapse Matrix homeserver
|
2019-01-18 13:52:23 +00:00
|
|
|
|
|
|
|
[Service]
|
2019-01-19 00:30:45 +00:00
|
|
|
Type=simple
|
2019-08-12 15:29:37 +00:00
|
|
|
Restart={{ matrix_restart_policy }}
|
2019-01-19 00:30:45 +00:00
|
|
|
|
|
|
|
User={{ matrix_user }}
|
|
|
|
Group={{ matrix_group }}
|
|
|
|
WorkingDirectory={{ matrix_base_dir }}
|
|
|
|
|
2019-11-24 15:24:29 +00:00
|
|
|
ExecStart={{ matrix_base_dir }}/env/bin/python -m synapse.app.homeserver --config-path={{ matrix_conf_dir }}/homeserver.yml
|
2019-08-12 15:29:37 +00:00
|
|
|
SyslogIdentifier=matrix-synapse
|
2019-01-18 13:52:23 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|