Skip to content

Commit

Permalink
Merge pull request NixOS#5846 from arno01/nginx
Browse files Browse the repository at this point in the history
nginx service improvements
  • Loading branch information
lethalman committed Mar 13, 2015
2 parents 459e942 + b1b9efd commit f72d1ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos/modules/services/web-servers/nginx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ in
'';
serviceConfig = {
ExecStart = "${nginx}/bin/nginx -c ${configFile} -p ${cfg.stateDir}";
Restart = "on-failure";
RestartSec = "10s";
StartLimitInterval = "1min";
};
};

Expand Down

0 comments on commit f72d1ab

Please sign in to comment.