Browse Source

Improved daemonization cookbook

Ask Solem 15 years ago
parent
commit
4aead3dcab
2 changed files with 26 additions and 6 deletions
  1. 1 1
      Changelog
  2. 25 5
      docs/cookbook/daemonizing.rst

+ 1 - 1
Changelog

@@ -211,7 +211,7 @@ NEWS
   setting has been added: ``CELERYD_PREFETCH_MULTIPLIER``, which is set
   to ``4`` by default.
 
-* Improved support for webhook tasks. 
+* Improved support for webhook tasks.
   ``celery.task.rest`` is now deprecated, replaced with the new and shiny
   :mod:`celery.task.http`. With more reflective names, sensible interface, and
   it's possible to override the methods used to perform HTTP requests.

+ 25 - 5
docs/cookbook/daemonizing.rst

@@ -2,12 +2,32 @@
  Running celeryd as a daemon
 =============================
 
-Celery is not a daemon by itself. When run in production it should use
-an appropriate daemonizing tool on the platform.
+Celery does not daemonize itself, please use one of the following
+daemonization tools.
 
-For example start-up scripts see ``contrib/debian/init.d`` for using
-``start-stop-daemon`` on Debian/Ubuntu, or ``contrib/mac/org.celeryq.*`` for using
-``launchd`` on Mac OS X.
 
+start-stop-daemon
+=================
+
+* `contrib/debian/init.d/`_
+
+.. _`contrib/debian/init.d/`:
+    http://github.com/ask/celery/tree/master/contrib/debian/
+
+`supervisord`_
+==============
+
+* `contrib/supervisord/`_
+
+.. _`contrib/supervisord/`:
+    http://github.com/ask/celery/tree/master/contrib/supervisord/
 .. _`supervisord`: http://supervisord.org/
 
+
+launchd (OS X)
+==============
+
+* `contrib/mac`_
+
+.. _`contrib/mac/`:
+    http://github.com/ask/celery/tree/master/contrib/mac/