ask/celery — pull request #498 by zyv (2011-10-10 15:33:30+00:00)
Title: Change celeryd startup priority in RHEL init script

The default start / stop priorities for mySQL on RHEL are

# chkconfig: - 64 36

Therefore, if celery is using a database as a broker / message store, it
should be started after the database is up and running, otherwise errors
will ensue. This commit changes the priority in the init script to

# chkconfig: - 85 15

which are the default recommended settings for 3-rd party applications
and assure that celery will be started after the database service & shut
down before it terminates.

Signed-off-by: Yury V. Zaytsev