소스 검색

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

Thanks to matclayton
Ask Solem 14 년 전
부모
커밋
fbe14ea801
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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
 ~~~~~~~~~~~~~~~~~~