Robert Kaussow
87681bb5f7
All checks were successful
continuous-integration/drone/push Build is passing
19 lines
448 B
Django/Jinja
19 lines
448 B
Django/Jinja
#jinja2: lstrip_blocks: True
|
|
{{ ansible_managed | comment }}
|
|
[Unit]
|
|
Description=Synapse Matrix homeserver
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart={{ matrix_restart_policy }}
|
|
|
|
User={{ matrix_user }}
|
|
Group={{ matrix_group }}
|
|
WorkingDirectory={{ matrix_base_dir }}
|
|
|
|
ExecStart={{ matrix_base_dir }}/env/bin/python -m synapse.app.homeserver --config-path={{ matrix_conf_dir }}/homeserver.yml
|
|
SyslogIdentifier=matrix-synapse
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|