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

Add a new entry point: Start which takes configuration #3

Merged
merged 2 commits into from
Aug 14, 2017

Conversation

ramr
Copy link
Owner

@ramr ramr commented Aug 14, 2017

Adds a new entry point called Start that takes a configuration. The old Reap stuff still runs as it did for backwards compatibility and in most cases, you shouldn't need to use Start. But if you want to push down config to wait4/waitpid, you can use the start entry point.

Usage:

import reaper "github.com/ramr/go-reaper"
...
config := reaper.Config{Pid: 0, Options: 0}
go reaper.Start(config)
...

ramr added 2 commits August 14, 2017 01:19
…cific

configuration and also test with bypassing pid 1 checks.
…hat we

can run with different docker files. Yeah --mount would have been so easy to use
but a few environments I tested in were running older docker versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant