nixos/nginx: enable service/config reload
This commit is contained in:
parent
4e51a466bd
commit
494d1820e3
@ -102,6 +102,7 @@ in
|
||||
'';
|
||||
serviceConfig = {
|
||||
ExecStart = "${nginx}/bin/nginx -c ${configFile} -p ${cfg.stateDir}";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "10s";
|
||||
StartLimitInterval = "1min";
|
||||
|
Loading…
Reference in New Issue
Block a user