nginx service: restart instead of stop to reduce downtime

cc #23127
This commit is contained in:
Franz Pletz
2017-02-25 15:55:56 +01:00
parent 0ed156a216
commit 26a2822cf0

View File

@@ -385,6 +385,7 @@ in
description = "Nginx Web Server";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
stopIfChanged = false;
preStart =
''
mkdir -p ${cfg.stateDir}/logs