Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timelimit: init at 1.9.2 #142365

Merged
merged 1 commit into from
Oct 20, 2021
Merged

timelimit: init at 1.9.2 #142365

merged 1 commit into from
Oct 20, 2021

Conversation

figsoda
Copy link
Member

@figsoda figsoda commented Oct 20, 2021

Motivation for this change

fixes #140557

timelimit executes a command and terminates the spawned process after a given time with a given signal. A “warning” signal is sent first, then, after a timeout, a “kill” signal, similar to the way init(8) operates on shutdown.

https://devel.ringlet.net/sysutils/timelimit/
https://gitlab.com/timelimit/timelimit

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@WolfangAukang
Copy link
Contributor

Result of nixpkgs-review pr 142365 run on x86_64-linux 1

1 package built:
  • timelimit

@figsoda figsoda merged commit ca549f3 into NixOS:master Oct 20, 2021
@figsoda figsoda deleted the timelimit branch October 20, 2021 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

timelimit command-line execution time limit tool
2 participants