xoxys.matrix/templates/etc/systemd/system/matrix.service.j2
Robert Kaussow 1889eedd0e
All checks were successful
continuous-integration/drone/push Build is passing
add logrotate config; switch to new loop syntax
2019-01-30 22:35:57 +01:00

21 lines
468 B
Django/Jinja

#jinja2: lstrip_blocks: True
# {{ ansible_managed }}
[Unit]
Description=Synapse Matrix homeserver
[Service]
Type=simple
Restart=on-abort
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
# adjust the cache factor if necessary
# Environment=SYNAPSE_CACHE_FACTOR=2.0
[Install]
WantedBy=multi-user.target