Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am using supervisor on Ubuntu with several programs to supervise. Is it possible to configure supervisor so it doesn't start a program before another specific program has successfully started?

I.e. I want to run Kafka only after Zookeeper has started.

share|improve this question

I'm not sure supervisor can ensure that but try to specify Zookeeper's priority lower than Kafka's, something like this:

autostart = true
autorestart = true

autostart = true
autorestart = true
share|improve this answer
Doesn't work :( – Karl Morrison Nov 25 '15 at 11:08

You can't do this, as far as I know. See this issue:

One commenter there suggests having all your programs as autostart = false, except just one, that has the responsibility for bringing all the others up (using supervisorctl, or the API, I guess) in the right order.

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.