1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00

apache-httpd: add restartSec option

This commit is contained in:
Matej Cotman 2015-01-19 22:47:44 +01:00
parent 1defdb972e
commit 6630e3e4fe

View file

@ -682,6 +682,7 @@ in
serviceConfig.Type = "forking"; serviceConfig.Type = "forking";
serviceConfig.PIDFile = "${mainCfg.stateDir}/httpd.pid"; serviceConfig.PIDFile = "${mainCfg.stateDir}/httpd.pid";
serviceConfig.Restart = "always"; serviceConfig.Restart = "always";
serviceConfig.RestartSec = "5s";
}; };
}; };