Browse Source

Remove mention of debian init scripts from daemonization cookbook

Ask Solem 13 years ago
parent
commit
c4d4d6e77c
1 changed files with 6 additions and 93 deletions
  1. 6 93
      docs/cookbook/daemonizing.rst

+ 6 - 93
docs/cookbook/daemonizing.rst

@@ -136,101 +136,14 @@ Available options
 * CELERYD_GROUP
     Group to run celeryd as. Default is current user.
 
-start-stop-daemon (Debian/Ubuntu/++)
-====================================
-
-See the `contrib/debian/init.d/`_ directory in the Celery distribution, this
-directory contains init scripts for celeryd and celerybeat.
-
-These scripts are configured in :file:`/etc/default/celeryd`.
-
-.. _`contrib/debian/init.d/`:
-    http://github.com/ask/celery/tree/master/contrib/debian/
-
-.. _debian-initd-celeryd:
-
-Init script: celeryd
---------------------
-
-:Usage: `/etc/init.d/celeryd {start|stop|force-reload|restart|try-restart|status}`
-:Configuration file: /etc/default/celeryd
-
-To configure celeryd you probably need to at least tell it where to change
-directory to when it starts (to find your `celeryconfig`).
-
-.. _debian-initd-celeryd-example:
-
-Example configuration
-~~~~~~~~~~~~~~~~~~~~~
-
-This is an example configuration for a Python project.
-
-:file:`/etc/default/celeryd`:
-
-    # Where to chdir at start.
-    CELERYD_CHDIR="/opt/Myproject/"
-
-    # Extra arguments to celeryd
-    CELERYD_OPTS="--time-limit=300"
-
-    # Name of the celery config module.#
-    CELERY_CONFIG_MODULE="celeryconfig"
-
-.. _debian-initd-celeryd-django-example:
-
-Example Django configuration
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-This is an example configuration for those using `django-celery`::
-
-    # Where the Django project is.
-    CELERYD_CHDIR="/opt/Project/"
-
-    # Path to celeryd
-    CELERYD="/opt/Project/manage.py celeryd"
-
-    # Name of the projects settings module.
-    export DJANGO_SETTINGS_MODULE="settings"
-
-.. _debian-initd-celeryd-options:
-
-Available options
-~~~~~~~~~~~~~~~~~~
-
-* CELERYD_OPTS
-    Additional arguments to celeryd, see `celeryd --help` for a list.
-
-* CELERYD_CHDIR
-    Path to change directory to at start. Default is to stay in the current
-    directory.
-
-* CELERYD_PID_FILE
-    Full path to the PID file. Default is /var/run/celeryd.pid.
-
-* CELERYD_LOG_FILE
-    Full path to the celeryd log file. Default is /var/log/celeryd.log
-
-* CELERYD_LOG_LEVEL
-    Log level to use for celeryd. Default is INFO.
-
-* CELERYD
-    Path to the celeryd program. Default is `celeryd`.
-    You can point this to an virtualenv, or even use manage.py for django.
-
-* CELERYD_USER
-    User to run celeryd as. Default is current user.
-
-* CELERYD_GROUP
-    Group to run celeryd as. Default is current user.
-
-.. _debian-initd-celerybeat:
+.. _generic-initd-celerybeat:
 
 Init script: celerybeat
 -----------------------
-:Usage: `/etc/init.d/celerybeat {start|stop|force-reload|restart|try-restart|status}`
+:Usage: `/etc/init.d/celerybeat {start|stop|restart}`
 :Configuration file: /etc/default/celerybeat or /etc/default/celeryd
 
-.. _debian-initd-celerybeat-example:
+.. _generic-initd-celerybeat-example:
 
 Example configuration
 ~~~~~~~~~~~~~~~~~~~~~
@@ -251,7 +164,7 @@ This is an example configuration for a Python project:
     # Name of the celery config module.#
     CELERY_CONFIG_MODULE="celeryconfig"
 
-.. _debian-initd-celerybeat-django-example:
+.. _generic-initd-celerybeat-django-example:
 
 Example Django configuration
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -273,7 +186,7 @@ This is an example configuration for those using `django-celery`::
     # Extra arguments to celerybeat
     CELERYBEAT_OPTS="--schedule=/var/run/celerybeat-schedule"
 
-.. _debian-initd-celerybeat-options:
+.. _generic-initd-celerybeat-options:
 
 Available options
 ~~~~~~~~~~~~~~~~~
@@ -301,7 +214,7 @@ Available options
 * CELERYBEAT_GROUP
     Group to run celeryd as. Default is current user.
 
-.. _debian-initd-troubleshooting:
+.. _generic-initd-troubleshooting:
 
 Troubleshooting
 ---------------