Start httpd synchronously
This ensures that when "start httpd" returns, Apache is actually listening. http://hydra.nixos.org/build/5499393
This commit is contained in:
parent
ff84facca3
commit
b26f3141db
@ -651,8 +651,9 @@ in
|
||||
done
|
||||
'';
|
||||
|
||||
serviceConfig.ExecStart = "@${httpd}/bin/httpd httpd -f ${httpdConf} -DNO_DETACH";
|
||||
serviceConfig.ExecStart = "@${httpd}/bin/httpd httpd -f ${httpdConf}";
|
||||
serviceConfig.ExecStop = "${httpd}/bin/httpd -f ${httpdConf} -k graceful-stop";
|
||||
serviceConfig.Type = "forking";
|
||||
serviceConfig.Restart = "always";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user