{"id":18151210,"url":"https://github.com/msantos/goreap","last_synced_at":"2025-06-30T06:05:12.335Z","repository":{"id":57652336,"uuid":"338018881","full_name":"msantos/goreap","owner":"msantos","description":"User init to supervise and terminate subprocesses","archived":false,"fork":false,"pushed_at":"2024-09-17T11:21:20.000Z","size":89,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T23:31:53.571Z","etag":null,"topics":["fork","prctl","procctl","signal","supervisor"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msantos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-11T12:11:10.000Z","updated_at":"2024-09-17T11:21:23.000Z","dependencies_parsed_at":"2024-09-17T13:27:35.628Z","dependency_job_id":null,"html_url":"https://github.com/msantos/goreap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msantos/goreap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fgoreap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fgoreap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fgoreap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fgoreap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msantos","download_url":"https://codeload.github.com/msantos/goreap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fgoreap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262720642,"owners_count":23353448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fork","prctl","procctl","signal","supervisor"],"created_at":"2024-11-02T01:06:56.998Z","updated_at":"2025-06-30T06:05:12.311Z","avatar_url":"https://github.com/msantos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/msantos/goreap.svg)](https://pkg.go.dev/github.com/msantos/goreap)\n\ngoreap [*options*] \u003ccommand\u003e \u003c...\u003e\n\n# DESCRIPTION\n\nSupervise and terminate subprocesses.\n\nSee [reap](https://github.com/leahneukirchen/reap).\n\n# BUILDING\n\n```\nCGO_ENABLED=0 go build -trimpath -ldflags \"-w\" ./cmd/goreap\n```\n\n# EXAMPLES\n\n```\ngoreap cat\n\ngoreap sh -c \"sleep inf \u0026 sleep inf \u0026 sleep 5\"\n\n$ goreap sh -c \"sleep inf \u0026 sleep inf \u0026 pstree -pga $$; sleep 5\"\nbash,9062,9062\n\t└─goreap,31262,31262 sh -c ...\n\t\t\t├─sh,31267,31262 -c sleep inf \u0026 sleep inf \u0026 pstree -pga 9062; sleep 5\n\t\t\t│   ├─pstree,31270,31262 -pga 9062\n\t\t\t│   ├─sleep,31268,31262 inf\n\t\t\t│   └─sleep,31269,31262 inf\n\t\t\t├─{goreap},31263,31262\n\t\t\t├─{goreap},31264,31262\n\t\t\t├─{goreap},31265,31262\n\t\t\t├─{goreap},31266,31262\n\t\t\t├─{goreap},31271,31262\n\t\t\t└─{goreap},31272,31262\n```\n\n# OPTIONS\n\ndeadline\n: send SIGKILL if processes running after deadline (0 to disable) (default 60s)\n\ndisable-setuid\n: disallow setuid (unkillable) subprocesses\n\ndelay *duration*\n: interval between signals (0 to disable) (default 1s)\n\nsignal *int*\n: signal sent to supervised processes (default 15)\n\nverbose\n: debug output\n\nwait\n: wait for subprocesses to exit\n\n# TESTS\n\n```\nbats test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsantos%2Fgoreap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsantos%2Fgoreap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsantos%2Fgoreap/lists"}