1
0
Files
synapse/synapse_topology/model/constants.py
2019-08-28 15:59:53 +01:00

26 lines
562 B
Python

# Paths
BASE_CONFIG = "homeserver.yaml"
# TODO: fill in further configs
CONFIGS = [BASE_CONFIG, "user.yaml", "optimizations.yaml", "something.yaml"]
DATA_SUBDIR = "data"
# Config options
SERVER_NAME = "server_name"
CONFIG_LOCK = "server_config_in_use"
SECRET_KEY = "macaroon_secret_key"
CONFIG_LOCK_DATA = """
## CONFIG LOCK ##
# Specifies whether synapse has been started with this config.
# If set to True the setup util will not go through the initialization
# phase which sets the server name and server keys.
{}: False
""".format(
CONFIG_LOCK
)