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
700d0407
Verified
Commit
700d0407
authored
Aug 15, 2019
by
Jan Alexander Steffens (heftig)
Browse files
matrix: Update config to 1.3.0
parent
9809d84d
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/matrix/files/synapse.service
View file @
700d0407
...
...
@@ -8,9 +8,7 @@ User=synapse
WorkingDirectory
=
~
Environment
=
LD_PRELOAD=/usr/lib/libjemalloc.so
Environment
=
SYNAPSE_CACHE_FACTOR=2.0
ExecStart
=
/var/lib/synapse/venv/bin/python -m synapse.app.homeserver
\
--config-path=/etc/synapse/homeserver.yaml
\
--log-config=/etc/synapse/log_config.yaml
ExecStart
=
/var/lib/synapse/venv/bin/python -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
[Install]
WantedBy
=
multi-user.target
roles/matrix/templates/homeserver.yaml.j2
View file @
700d0407
...
...
@@ -268,6 +268,23 @@ listeners:
# Used by phonehome stats to group together related servers.
#server_context: context
# Resource-constrained Homeserver Settings
#
# If limit_remote_rooms.enabled is True, the room complexity will be
# checked before a user joins a new remote room. If it is above
# limit_remote_rooms.complexity, it will disallow joining or
# instantly leave.
#
# limit_remote_rooms.complexity_error can be set to customise the text
# displayed to the user when a room above the complexity threshold has
# its join cancelled.
#
# Uncomment the below lines to enable:
#limit_remote_rooms:
# enabled: True
# complexity: 1.0
# complexity_error: "This room is too complex."
# Whether to require a user to be in the room to add an alias to it.
# Defaults to 'true'.
#
...
...
@@ -541,6 +558,13 @@ log_config: "/etc/synapse/log_config.yaml"
## Media Store ##
# Enable the media store service in the Synapse master. Uncomment the
# following if you are using a separate media store worker.
#
#enable_media_repo: false
# Directory where uploaded images and attachments are stored.
#
media_store_path
:
"
/var/lib/synapse/media_store"
...
...
@@ -778,6 +802,16 @@ url_preview_ip_range_blacklist:
# period: 6w
# renew_at: 1w
# renew_email_subject: "Renew your %(app)s account"
# # Directory in which Synapse will try to find the HTML files to serve to the
# # user when trying to renew an account. Optional, defaults to
# # synapse/res/templates.
# template_dir: "res/templates"
# # HTML to be displayed to the user after they successfully renewed their
# # account. Optional.
# account_renewed_html_path: "account_renewed.html"
# # HTML to be displayed when the user tries to renew an account with an invalid
# # renewal token. Optional.
# invalid_token_html_path: "invalid_token.html"
# Time that a user's session remains valid for, after they log in.
#
...
...
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