Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
5c9922bd
Verified
Commit
5c9922bd
authored
Dec 20, 2018
by
Jan Alexander Steffens (heftig)
Browse files
roles/matrix: Use jemalloc for synapse
parent
03d14f84
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/matrix/files/synapse.service
View file @
5c9922bd
...
...
@@ -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
...
...
roles/matrix/tasks/main.yml
View file @
5c9922bd
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment