Revision e7fc07ea

b/doc/source/install.rst
338 338

  
339 339
	vim /etc/default/celeryd
340 340

  
341
Again if the directory conventions have been followed the file should be::
341
Again if the directory conventions have been followed the file is (pay attention to the CELERYD_USER, CELERYD_GROUP and change accordingly)  ::
342 342

  
343 343
	# Name of nodes to start, here we have a single node
344 344
	CELERYD_NODES="w1"
......
346 346
	#CELERYD_NODES="w1 w2 w3"
347 347

  
348 348
	# Where to chdir at start.
349
	CELERYD_CHDIR="/srv/flowspy/"
349
	CELERYD_CHDIR="/srv/flowspy"
350 350
	# How to call "manage.py celeryd_multi"
351 351
	CELERYD_MULTI="$CELERYD_CHDIR/manage.py celeryd_multi"
352 352

  
......
364 364
	CELERYD_PID_FILE="$CELERYD_CHDIR/celery_var/run/celery/%n.pid"
365 365

  
366 366
	# Workers should run as an unprivileged user.
367
	CELERYD_USER="root"
368
	CELERYD_GROUP="root"
367
	CELERYD_USER="user"
368
	CELERYD_GROUP="user"
369 369

  
370 370
	# Name of the projects settings module.
371 371
	export DJANGO_SETTINGS_MODULE="settings"
b/install.txt
356 356

  
357 357
   vim /etc/default/celeryd
358 358

  
359
Again if the directory conventions have been followed the file should
360
be:
359
Again if the directory conventions have been followed the file is (pay
360
attention to the CELERYD_USER, CELERYD_GROUP and change accordingly)
361 361

  
362 362
   # Name of nodes to start, here we have a single node
363 363
   CELERYD_NODES="w1"
......
365 365
   #CELERYD_NODES="w1 w2 w3"
366 366

  
367 367
   # Where to chdir at start.
368
   CELERYD_CHDIR="/srv/flowspy/"
368
   CELERYD_CHDIR="/srv/flowspy"
369 369
   # How to call "manage.py celeryd_multi"
370 370
   CELERYD_MULTI="$CELERYD_CHDIR/manage.py celeryd_multi"
371 371

  
......
383 383
   CELERYD_PID_FILE="$CELERYD_CHDIR/celery_var/run/celery/%n.pid"
384 384

  
385 385
   # Workers should run as an unprivileged user.
386
   CELERYD_USER="root"
387
   CELERYD_GROUP="root"
386
   CELERYD_USER="user"
387
   CELERYD_GROUP="user"
388 388

  
389 389
   # Name of the projects settings module.
390 390
   export DJANGO_SETTINGS_MODULE="settings"

Also available in: Unified diff