nixos/buildkite-agent: tweak TimeoutStopSec and KillMode

This improves behaviour when the service is being stopped.
This commit is contained in:
Florian Klink 2020-01-17 16:47:34 +01:00
parent 9237767277
commit 99d0f4c380

View File

@ -228,6 +228,9 @@ in
RestartSec = 5; RestartSec = 5;
Restart = "on-failure"; Restart = "on-failure";
TimeoutSec = 10; TimeoutSec = 10;
# set a long timeout to give buildkite-agent a chance to finish current builds
TimeoutStopSec = "2 min";
KillMode = "mixed";
}; };
}; };