Only print the pidfile path on startup if requested by a commandline flag

This commit is contained in:
Paul "LeoNerd" Evans 2015-08-07 16:36:42 +01:00
parent 8049c9a71e
commit efe60d5e8c
2 changed files with 9 additions and 1 deletions

View file

@ -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",