diff options
author | Marius Bakke <marius@gnu.org> | 2021-10-14 00:01:12 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-10-14 00:01:12 +0200 |
commit | 0f77e50139b023cb1a5a82ac3a0b9b7fa990c45b (patch) | |
tree | 8796bb011e021bf01fe5cb15c70641ee0c0ed5f0 /gnu/packages/admin.scm | |
parent | 641b31de5e9716ff8bd088f4834c98d4a664b55a (diff) | |
parent | 1961b28445080c7b9fb8bf5291ac9a814303522a (diff) | |
download | guix-0f77e50139b023cb1a5a82ac3a0b9b7fa990c45b.tar guix-0f77e50139b023cb1a5a82ac3a0b9b7fa990c45b.tar.gz |
Merge branch 'master' into core-updates-frozen
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r-- | gnu/packages/admin.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index d0283a5cb2..4d4e18e3a3 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4808,3 +4808,31 @@ setup, maintenance, supervision, or any long-running processes.") (description "Utility to convert @code{lsof} output to a graph showing FIFO and UNIX interprocess communication.") (license license:bsd-2)))) + +(define-public runitor + (package + (name "runitor") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bdd/runitor") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vjfbyrbp5ywgzdz9j3x0qgjvnq7nw7193x8v9yy6k2cih1zsacn")))) + (build-system go-build-system) + (arguments + `(#:unpack-path "bdd.fi/x/runitor" + #:go ,go-1.17 + #:build-flags '(,(string-append "-ldflags=-X main.Version=" version)) + #:import-path "bdd.fi/x/runitor/cmd/runitor" + #:install-source? #f)) + (home-page "https://github.com/bdd/runitor") + (synopsis "Command runner with healthchecks.io integration") + (description + "Runitor runs the supplied command, captures its output, and based on its +exit code reports successful or failed execution to +@url{https://healthchecks.io,https://healthchecks.io} or your private instance.") + (license license:bsd-0))) |