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 an option to restart the child process #186

Open
ashishshinde opened this issue Jul 11, 2021 · 1 comment
Open

Add an option to restart the child process #186

ashishshinde opened this issue Jul 11, 2021 · 1 comment

Comments

@ashishshinde
Copy link

Some applications need to be restarted, for example, to reload the configuration. For various reasons they do not/cannot implement a signal-based graceful reload of configuration.

In containerized environments, containers restart can be costly for applications like databases that would need to scan disk to recreate indices or caches on container delete and restart. For example, the Aerospike NoSQL database stores the indices in shared memory to enable a quick restart and will benefit from restarting within the container without having shared memory segments being lost.

A -r option can be added such that when tini receives this, it terminates and restarts the child process to enable graceful reloads of configuration without losing shared memory or caches stored on ephemeral storage.

@yosifkit
Copy link

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

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

No branches or pull requests

2 participants