summary refs log tree commit diff
path: root/synapse/config/_base.py
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-10-02 10:43:22 +0100
committerDavid Baker <dbkr@matrix.org>2014-10-02 10:43:22 +0100
commit7a322b63264acbef7e60b511ad8d39ae4718386b (patch)
treeddb43a27a8678030725e750e21f6b72944224d65 /synapse/config/_base.py
parentRe-apply a0b1b34c71e46304f7024f0570db92f4577303b5 to master (fixing synctl) (diff)
downloadsynapse-7a322b63264acbef7e60b511ad8d39ae4718386b.tar.xz
Update README setup instructions to be correct. Make synapse spit out explanatory note when generating config to tell people to look at it and customise it.
Diffstat (limited to '')
-rw-r--r--synapse/config/_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/_base.py b/synapse/config/_base.py
index 35bcece2c0..809f9c922b 100644
--- a/synapse/config/_base.py
+++ b/synapse/config/_base.py
@@ -123,6 +123,7 @@ class Config(object):
                 #   style mode markers into the file, to hint to people that
                 #   this is a YAML file.
                 yaml.dump(config, config_file, default_flow_style=False)
+            print "A config file has been generated in %s (your server name is '%s'). Please review this file and customise it to your needs." % (config_args.config_path, config['server_name'])
             sys.exit(0)
 
         return cls(args)