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:
parent
46dce21bff
commit
a07eb262a0
1 changed files with 1 additions and 3 deletions
|
@ -593,9 +593,7 @@ in
|
|||
done
|
||||
'';
|
||||
|
||||
daemonType = "fork";
|
||||
|
||||
exec = "httpd -f ${httpdConf}";
|
||||
exec = "httpd -f ${httpdConf} -DNO_DETACH";
|
||||
|
||||
preStop =
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue