Running Apache2 under init control

Wednesday, 3 Nov 2004

If you want to run Apache 2.x under init’s control in order to automatically respawn it when it dies, you’ll have to pass it the commandline option -D NO_DETACH. This used to be documented, if only obscurely (in the Apache 1.3 to 2.0 migration overview), but for some reason no longer is.