diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-02-25 15:55:56 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-02-25 20:12:37 +0100 |
commit | 26a2822cf0ffc286d10c11c6a59c1e2152848d62 (patch) | |
tree | 577c2fff1e37e7e3a23f65280a45f1d5ad6585ef /nixos/modules | |
parent | 0ed156a2167fb5a23fa3b798bc8e148f5045f922 (diff) |
nginx service: restart instead of stop to reduce downtime
cc #23127
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/web-servers/nginx/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix index 1150459d40e1..6bc7192963d1 100644 --- a/nixos/modules/services/web-servers/nginx/default.nix +++ b/nixos/modules/services/web-servers/nginx/default.nix @@ -385,6 +385,7 @@ in description = "Nginx Web Server"; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; + stopIfChanged = false; preStart = '' mkdir -p ${cfg.stateDir}/logs |