Pārlūkot izejas kodu

Mention that HUP only works if celeryd does not have a tty attached

Ask Solem 13 gadi atpakaļ
vecāks
revīzija
c3b733e546
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 8 0
      docs/userguide/workers.rst

+ 8 - 0
docs/userguide/workers.rst

@@ -70,6 +70,14 @@ restart the worker using the :sig:`HUP` signal::
 The worker will then replace itself with a new instance using the same
 arguments as it was started with.
 
+.. note::
+
+    This will only work if ``celeryd`` is running in the background as
+    a daemon (it does not have a controlling terminal).
+
+    Restarting by HUP is disabled on OS X because of a limitation on
+    that platform.
+
 .. _worker-concurrency:
 
 Concurrency