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

If I have an application that requires two separate processes (front- and back-end) to run properly, is it possible to launch both of them from a single runscript and have daemontools supervise both of them and treat them as a single service? If so, how? Or would they need to be, by definition, two separate daemons?

share|improve this question
up vote 3 down vote accepted

As far as I know, no: It's been a while since I've used Daemontools svc stuff, but as I recall it opens a pipe between the daemontools monitoring program and the daemon being spawned -- If I remember correctly that pipe closing is how it determines that the daemon "died" and needs to restart.

Since the pipe is one program to one program there would be no way to monitor the second daemon: You would need to create a separate daemontools service for it.

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.