1

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?

1 Answer 1

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .