diff options
author | Michael Fenn <fennm@deshawresearch.com> | 2013-08-19 19:30:16 -0400 |
---|---|---|
committer | Michael Fenn <fennm@deshawresearch.com> | 2013-08-19 19:30:16 -0400 |
commit | 1c54466ff7d6a2673453042164b8a14cf4fb577d (patch) | |
tree | a05202726484f506dec686ada725983755475ea0 /src/lib/Bcfg2/Reporting | |
parent | 0a04b47b38e185463fb200ee7a11cf44500029e5 (diff) | |
download | bcfg2-1c54466ff7d6a2673453042164b8a14cf4fb577d.tar.gz bcfg2-1c54466ff7d6a2673453042164b8a14cf4fb577d.tar.bz2 bcfg2-1c54466ff7d6a2673453042164b8a14cf4fb577d.zip |
Reporting: have bcfg2-report-collector be explicit about detaching
Following the same logic as 360ba2e7, we should be explicit about
the need to detach the bcfg2-report-collector process.
Side note: this bit me because I was starting the bcfg2 server
processes via SSH, and the way python-daemon checks for being
started by inetd is to see if stdin is a socket. (??)
Diffstat (limited to 'src/lib/Bcfg2/Reporting')
-rw-r--r-- | src/lib/Bcfg2/Reporting/Collector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/Collector.py b/src/lib/Bcfg2/Reporting/Collector.py index 3d224432e..4556cda82 100644 --- a/src/lib/Bcfg2/Reporting/Collector.py +++ b/src/lib/Bcfg2/Reporting/Collector.py @@ -82,7 +82,7 @@ class ReportingCollector(object): """Startup the processing and go!""" self.terminate = threading.Event() atexit.register(self.shutdown) - self.context = daemon.DaemonContext() + self.context = daemon.DaemonContext(detach_process=True) if self.setup['daemon']: self.logger.debug("Daemonizing") |