소스 검색

Thanks to Dave Peticolas, reload when supervisord is in the background no longer crashes.

Chris McDonough 17 년 전
부모
커밋
1bdecb8331
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/supervisor/supervisord.py

+ 1 - 1
src/supervisor/supervisord.py

@@ -103,7 +103,7 @@ class Supervisor:
             self.options.process_environment()
             self.options.openhttpservers(self)
             self.options.setsignals()
-            if not self.options.nodaemon:
+            if (not self.options.nodaemon) and self.options.first:
                 self.options.daemonize()
             # writing pid file needs to come *after* daemonizing or pid
             # will be wrong