docs: Add parallel startup

This commit is contained in:
tschettervictor
2025-05-03 19:20:22 -06:00
committed by GitHub
parent 5b3c839fb9
commit 6558423222

View File

@@ -52,6 +52,15 @@ nextcloud will first be stopped because it "depends" on nginx.
Note that if we do a ``bastille restart nginx``, however, nextcloud will be stopped, because it "depends" on nginx, but will not be started again, because the jail we just restarted, nginx, does not depend on nextcloud.
Parallel Startup
----------------
Bastille supports starting, stopping and restarting jails in parallel mode using the ``rc`` service script. To enable this functionality, set
``bastille_parallel_limit`` to a numeric value. For example, if you run ``sysrc bastille_parallel_limit=4``, then Bastille will start 4
jails at a time on system startup, as well as stop or restart 4 jails at a time when ``service bastille...`` is called.
This value is set to 1 by default, to only start/stop/restart jail one at a time.
Startup Delay
-------------