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 invoke a startup delay between starting each jail #844

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

pswilde
Copy link
Contributor

@pswilde pswilde commented Feb 13, 2025

Sometimes it can be beneficial that multiple jails to not all start immediately one after the other. For example, I have a PostgreSQL jail which runs databases used in multiple other jails. On occasion, one of my other jails fails to successfully start services within it after reboot of the host because that service depends on postgresql which isn't accepting incoming connections, yet.
Ideally, these services would have appropriate rc scripts to cater for when a database isn't ready, but as not all of them do it can be a useful workaround to have a delay between jail startups with enough time for dependencies to start up first. This, coupled with a dependency ordered bastille_list can save a lot of manual intervention at reboot.

Apologies if this has been covered elsewhere and I have missed it, isn't within scope of the project or if you feel there's a better way to handle this then please do as you wish.

@bmac2 bmac2 merged commit d7a66a2 into BastilleBSD:master Feb 21, 2025
1 check passed
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.

2 participants