0

According to this link, it said

Upstart is one of the best options for running traditional forking daemons, since it actually uses ptrace to make sure it's watching the correct process ids.

Now consider the case of Apache httpd running in pre-fork mode, can anyone explain why using Upstart is better than the traditional init script's pid file approach?

Uwe Keim
  • 2,370
  • 4
  • 29
  • 46
Howard
  • 2,005
  • 11
  • 47
  • 70

1 Answers1

0

Imagine that apache crashes and you need to restart it. Upstart will do it. I personally prefer supervisord since it can also run in userspace but upstart is very good.

slm
  • 7,355
  • 16
  • 54
  • 72
  • 1
    Actually `supervisord` is unable to monitor a forked daemon. Upstart is better in this case by the `expect` directive. – Howard Jul 26 '13 at 04:50