Forráskód Böngészése

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

Chris McDonough 17 éve
szülő
commit
1bdecb8331
1 módosított fájl, 1 hozzáadás és 1 törlés
  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