From c1ce03144eefcd7bb2120201c3c3110c61fab07c Mon Sep 17 00:00:00 2001 From: Robert Call Date: Thu, 23 May 2013 18:03:00 -0300 Subject: [PATCH] Added celeryd tmp documentaiton Added celeryd temp. documentation. Hope to replace with fabric stuff in the future. --- docs/source/os-install.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/source/os-install.rst b/docs/source/os-install.rst index 7ed5487..203f196 100644 --- a/docs/source/os-install.rst +++ b/docs/source/os-install.rst @@ -162,3 +162,31 @@ a more reliable experience to the user. See $SRC_ROOT/docs/source/secrets.rst + +5. Celeryd setup +-------------------------------------- + +At the writing of this documentation, celeryd management +does NOT currently work with our fabric configuration. + +In order to deploy celery, we need to add an init script +to: + + /etc/init.d + +this script can be found in $SRC_ROOT/bin/celeryd . Just make sure +to modify: + + DJANGO_PROJECT_DIR + VIRTUAL_ENV + +Also note that permissions for /var/run/*.pid and /var/log/*.log need +to be fixed for the user that is running celeryd. + +Run celeryd by: + + sudo service celeryd start + +Stop celeryd by: + + sudo service celeryd stop -- 2.25.1