mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
docs: Add parallel startup
This commit is contained in:
@@ -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
|
||||
-------------
|
||||
|
||||
Reference in New Issue
Block a user