Skip to content

Commit

Permalink
Change celeryd startup priority in RHEL init script
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
zyv committed Oct 10, 2011
1 parent 4151b4a commit e196a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/centos/celeryd.init
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
#
# chkconfig: - 55 45
# chkconfig: - 85 15
# description: Celery worker daemon
# processname: celeryd
# config: /etc/sysconfig/celeryd
Expand Down

0 comments on commit e196a30

Please sign in to comment.