Browse Source

Moves debugging and daemonization guide into the userguide

Ask Solem 8 years ago
parent
commit
36e8e3bd2d

+ 6 - 0
docs/tutorials/daemonizing.html

@@ -0,0 +1,6 @@
+Moved
+=====
+
+This document has been moved into the userguide.
+
+See :ref:`daemonizing`

+ 6 - 0
docs/tutorials/debugging.html

@@ -0,0 +1,6 @@
+Moved
+=====
+
+This document has been moved into the userguide.
+
+See :ref:`guide-debugging`.

+ 0 - 2
docs/tutorials/index.rst

@@ -8,6 +8,4 @@
 .. toctree::
     :maxdepth: 2
 
-    daemonizing
-    debugging
     task-cookbook

+ 1 - 4
docs/tutorials/daemonizing.rst → docs/userguide/daemonizing.rst

@@ -1,12 +1,9 @@
 .. _daemonizing:
 
 ======================================================================
-                     Running the worker as a daemon
+  Daemonization
 ======================================================================
 
-Celery does not daemonize itself, please use one of the following
-daemonization tools.
-
 .. contents::
     :local:
 

+ 10 - 5
docs/tutorials/debugging.rst → docs/userguide/debugging.rst

@@ -1,11 +1,16 @@
-.. _tut-remote_debug:
+.. _guide-debugging:
 
 ======================================
- Debugging Tasks Remotely (using pdb)
+ Debugging
 ======================================
 
+.. _tut-remote_debug:
+
+Debugging Tasks Remotely (using pdb)
+====================================
+
 Basics
-======
+------
 
 :mod:`celery.contrib.rdb` is an extended version of :mod:`pdb` that
 enables remote debugging of processes that does not have terminal
@@ -90,12 +95,12 @@ The result of our vandalism can be seen in the worker logs:
 
 
 Tips
-====
+----
 
 .. _breakpoint_signal:
 
 Enabling the break-point signal
--------------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 If the environment variable :envvar:`CELERY_RDBSIG` is set, the worker
 will open up an rdb instance whenever the `SIGUSR2` signal is sent.

+ 2 - 0
docs/userguide/index.rst

@@ -15,11 +15,13 @@
     calling
     canvas
     workers
+    daemonizing
     periodic-tasks
     routing
     monitoring
     security
     optimizing
+    debugging
     concurrency/index
     signals
     extending