Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm not able to try this out on one of our machines, so I'm asking here instead!

Why does the following chkconfig entry in an init script work:

# chkconfig: - 95 05

whereas the following doesn't:

# chkconfig : - 85 15

Is it the fact that there is a space between the chkconfig and the :, or are the numbers important?

share|improve this question
up vote 1 down vote accepted

It's the space that's doing it. From leveldb.c:

if (!strncmp(start, "chkconfig:", 10)) {

The numbers only determine when the initscript runs during startup and shutdown.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.