From: Robert Call Date: Thu, 23 May 2013 21:03:00 +0000 (-0300) Subject: Added celeryd tmp documentaiton X-Git-Tag: release-20150131~438^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c1ce03144eefcd7bb2120201c3c3110c61fab07c;p=oweals%2Fkarmaworld.git Added celeryd tmp documentaiton Added celeryd temp. documentation. Hope to replace with fabric stuff in the future. --- 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