nixos/buildkite-agent: tweak TimeoutStopSec and KillMode
This improves behaviour when the service is being stopped.
This commit is contained in:
parent
9237767277
commit
99d0f4c380
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user