Apache: don't fork into the background due to Upstart weirdness

If Apache crashes during startup, Upstart for some reason shows the
job in the "start/running" state.  As a workaround, don't fork.
This commit is contained in:
Eelco Dolstra 2012-07-06 13:47:42 -04:00
parent 46dce21bff
commit a07eb262a0

View file

@ -593,9 +593,7 @@ in
done
'';
daemonType = "fork";
exec = "httpd -f ${httpdConf}";
exec = "httpd -f ${httpdConf} -DNO_DETACH";
preStop =
''