From 26a2822cf0ffc286d10c11c6a59c1e2152848d62 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 25 Feb 2017 15:55:56 +0100 Subject: [PATCH] nginx service: restart instead of stop to reduce downtime cc #23127 --- nixos/modules/services/web-servers/nginx/default.nix | 1 + 1 file changed, 1 insertion(+) 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