Pārlūkot izejas kodu

Daemonization cookbook: Need to export DJANGO_SETTINGS_MODULE in /etc/default/celeryd.

Thanks to matclayton
Ask Solem 14 gadi atpakaļ
vecāks
revīzija
fbe14ea801
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      docs/cookbook/daemonizing.rst

+ 3 - 3
docs/cookbook/daemonizing.rst

@@ -53,12 +53,12 @@ This is an example configuration for those using ``django-celery``::
     # Where the Django project is.
     CELERYD_CHDIR="/opt/Project/"
 
-    # Name of the projects settings module.
-    DJANGO_SETTINGS_MODULE="settings"
-
     # Path to celeryd
     CELERYD="/opt/Project/manage.py celeryd"
 
+    # Name of the projects settings module.
+    export DJANGO_SETTINGS_MODULE="settings"
+
 Available options
 ~~~~~~~~~~~~~~~~~~