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

@@ -53,6 +53,8 @@ destroy_jail() {
for _jail in ${JAILS}; do
(
bastille_jail_base="${bastille_jailsdir}/${_jail}"
bastille_jail_log="${bastille_logsdir}/${_jail}_console.log"
@@ -117,8 +119,14 @@ destroy_jail() {
pfctl -a "rdr/${_jail}" -Fn
fi
fi
)
done
bastille_running_jobs "${bastille_process_limit}"
done
wait
}
destroy_rel() {