summary refs log tree commit diff
path: root/synapse_topology/model/constants.py
blob: a3b4d2240b62e1ae10f5978aa92cc9be18ea410d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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
)