Explorar o código

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

Thanks to matclayton
Ask Solem %!s(int64=14) %!d(string=hai) anos
pai
achega
fbe14ea801
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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
 ~~~~~~~~~~~~~~~~~~