diff options
| author | Vincent Haupert <mail@vincent-haupert.de> | 2022-11-10 12:23:42 +0100 |
|---|---|---|
| committer | Winter <winter@winter.cafe> | 2022-11-10 11:06:04 -0500 |
| commit | 847774470eba277e341f6770c40b4457e3ddec11 (patch) | |
| tree | 29a0272488e48a323f96b2e94a4b2b3f16f540ea /pkgs/development/python-modules/rangehttpserver | |
| parent | 4f9fa9172c01ff822036fa98f0e50702b522d382 (diff) | |
nixos/github-runners: restart service if exit code signals a retryable error
On some occasions, the GitHub runner service encounters errors which are
deemed retryable but result in the runner's termination. To signal a
retryable error, the runner exits with status code 2:
https://github.com/actions/runner/blob/40ed7f8/src/Runner.Common/Constants.cs#L146
To account for that behavior, this commit sets
`RestartForceExitStatus=2` which results in a service restart regardless
of using an ephemeral runner or not.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
