summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-12-02 10:08:18 +0000
committerErik Johnston <erik@matrix.org>2015-12-02 10:08:18 +0000
commit03b2a6a8aa33a66970fc4c0787c661236a466460 (patch)
treef1979c228c5bd066c64cf35435aca8e233bc081c
parentMerge pull request #408 from matrix-org/markjh/distributor_facade (diff)
parentAdded a single line to explain what the server_name is used for (diff)
downloadsynapse-03b2a6a8aa33a66970fc4c0787c661236a466460.tar.xz
Merge pull request #409 from MadsRC/develop
Develop
-rw-r--r--README.rst4
-rw-r--r--synapse/config/server.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 3014edaac7..80e1b26e60 100644
--- a/README.rst
+++ b/README.rst
@@ -440,6 +440,10 @@ SRV record, as that is the name other machines will expect it to have::
     python -m synapse.app.homeserver --config-path homeserver.yaml
 
 
+If you've already generated the config file, you need to edit the "server_name"
+in you  ```homeserver.yaml``` file. If you've already started Synapse and a
+database has been created, you will have to recreate the database.
+
 You may additionally want to pass one or more "-v" options, in order to
 increase the verbosity of logging output; at least for initial testing.
 
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 5c2d6bfeab..187edd516b 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -133,6 +133,7 @@ class ServerConfig(Config):
         # The domain name of the server, with optional explicit port.
         # This is used by remote servers to connect to this server,
         # e.g. matrix.org, localhost:8080, etc.
+        # This is also the last part of your UserID.
         server_name: "%(server_name)s"
 
         # When running as a daemon, the file to store the pid in