Verified Commit 5c9922bd authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

roles/matrix: Use jemalloc for synapse

parent 03d14f84
......@@ -6,6 +6,7 @@ After=network.target postgresql.service
[Service]
User=synapse
WorkingDirectory=~
Environment=LD_PRELOAD=/usr/lib/libjemalloc.so
ExecStart=/var/lib/synapse/venv/bin/python -m synapse.app.homeserver \
--config-path=/etc/synapse/homeserver.yaml \
--log-config=/etc/synapse/log_config.yaml
......
......@@ -5,7 +5,7 @@
when: 'matrix_domain is defined'
- name: install packages
pacman: name=python,git,npm
pacman: name=python,git,npm,jemalloc
- name: add synapse group
group: name=synapse system=yes gid=198
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment