xoxys.matrix/templates/etc/systemd/system/matrix.service.j2
Robert Kaussow 87681bb5f7
All checks were successful
continuous-integration/drone/push Build is passing
cleanup
2019-08-12 17:29:37 +02:00

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