Skip to content

Commit 9537e99

Browse files
author
Ask Solem
committed
Daemonization cookbook: Need to export DJANGO_SETTINGS_MODULE in /etc/default/celeryd.
Thanks to matclayton
1 parent 1408dcc commit 9537e99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/cookbook/daemonizing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ This is an example configuration for those using ``django-celery``::
5353
# Where the Django project is.
5454
CELERYD_CHDIR="/opt/Project/"
5555

56-
# Name of the projects settings module.
57-
DJANGO_SETTINGS_MODULE="settings"
58-
5956
# Path to celeryd
6057
CELERYD="/opt/Project/manage.py celeryd"
6158

59+
# Name of the projects settings module.
60+
export DJANGO_SETTINGS_MODULE="settings"
61+
6262
Available options
6363
~~~~~~~~~~~~~~~~~~
6464

0 commit comments

Comments
 (0)