summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorPaul Evans <leonerd@leonerd.org.uk>2015-08-07 17:49:54 +0100
committerPaul Evans <leonerd@leonerd.org.uk>2015-08-07 17:49:54 +0100
commite69b6690833b6233a2d8529e98f6a55ebafbd03e (patch)
treee5d320bb216ac4f78cb7e4c58807176e1dd281dc /synapse/app
parentMerge pull request #209 from matrix-org/erikj/cached_keyword_args (diff)
parentDon't complain about extra .pyc files we find while hunting for database schemas (diff)
downloadsynapse-e69b6690833b6233a2d8529e98f6a55ebafbd03e.tar.xz
Merge pull request #213 from matrix-org/paul/SYN-420
Three small improvements to help debian package (SYN-420)
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 49e27c9e11..f04493f92a 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -657,7 +657,8 @@ def run(hs):
 
     if hs.config.daemonize:
 
-        print hs.config.pid_file
+        if hs.config.print_pidfile:
+            print hs.config.pid_file
 
         daemon = Daemonize(
             app="synapse-homeserver",