krallin / tini

A tiny but valid `init` for containers
MIT License
9.66k stars 505 forks source link

Option to restart the cild process #186 #187

Open ashishshinde opened 3 years ago

ashishshinde commented 3 years ago

Added -r option that triggers child restart, and -t option that signals the child process to terminate.

onedr0p commented 2 years ago

@krallin this is a very beneficial change, any chance for a code review / merge and release when you have time?

yosifkit commented 2 years ago

I think this is "out of scope" for tini: https://github.com/krallin/tini/issues/71#issuecomment-272652178, https://github.com/krallin/tini/pull/146

slayer commented 1 year ago

I think this is "out of scope" for tini: #71 (comment), #146

I don't think it's out of scope. Because that's that real init restarts process on exit. It's really required feature.