Initial commit for subshell parallel mode

This commit is contained in:
tschettervictor
2025-05-04 12:11:16 -06:00
parent 22aa1b1e4e
commit 39ed1aaec6
18 changed files with 197 additions and 136 deletions

View File

@@ -88,6 +88,8 @@ set_target "${TARGET}"
for _jail in ${JAILS}; do
(
# Validate jail state
check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then
bastille start "${_jail}"
@@ -101,4 +103,9 @@ for _jail in ${JAILS}; do
jexec -l "${_jail}" /usr/sbin/service "$@"
done
)
bastille_running_jobs "${bastille_process_limit}"
done
wait