diff options
author | Erik Johnston <erik@matrix.org> | 2019-03-14 13:32:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-03-14 13:32:14 +0000 |
commit | 9ad448c1e56dc548d8ee22494deabe802637b58a (patch) | |
tree | 8ede79d5b49432315a81a27821af90d3bff1ee6d /synapse/app/homeserver.py | |
parent | Newsfile (diff) | |
download | synapse-9ad448c1e56dc548d8ee22494deabe802637b58a.tar.xz |
Correctly handle all command line options
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index e8b6cc3114..ce89d48bf7 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -636,17 +636,15 @@ def run(hs): # be quite busy the first few minutes clock.call_later(5 * 60, start_phone_stats_home) - if hs.config.daemonize and hs.config.print_pidfile: - print(hs.config.pid_file) - _base.start_reactor( "synapse-homeserver", - hs.config.soft_file_limit, - hs.config.gc_thresholds, - hs.config.pid_file, - hs.config.daemonize, - hs.config.cpu_affinity, - logger, + soft_file_limit=hs.config.soft_file_limit, + gc_thresholds=hs.config.gc_thresholds, + pid_file=hs.config.pid_file, + daemonize=hs.config.daemonize, + cpu_affinity=hs.config.cpu_affinity, + print_pidfile=hs.config.print_pidfile, + logger=logger, ) |