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

Feature Request: A basic SysV style init #182

Open
venomdev opened this issue May 5, 2021 · 0 comments
Open

Feature Request: A basic SysV style init #182

venomdev opened this issue May 5, 2021 · 0 comments

Comments

@venomdev
Copy link

venomdev commented May 5, 2021

Would it be possible to add a simplified SysV style init function?

You could specify an environment variable like TINI_INIT_RC=3 and it would load any scripts in alphabetical order from rcX.d folders. If the environment variable is not set then this function is skipped.

This should not break any compatibility with the docker built in --init as if/when docker uses the feature it is still turned on or off with an environment variable and not a command switch.

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

1 participant