mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-18 16:21:32 +01:00
parallel mode: Remove cmd and service
This commit is contained in:
@@ -93,8 +93,6 @@ set_target "${TARGET}"
|
||||
|
||||
for _jail in ${JAILS}; do
|
||||
|
||||
(
|
||||
|
||||
# Validate jail state
|
||||
check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then
|
||||
bastille start "${_jail}"
|
||||
@@ -114,12 +112,7 @@ for _jail in ${JAILS}; do
|
||||
fi
|
||||
|
||||
bastille_check_exit_code "${_jail}" "$?"
|
||||
|
||||
) &
|
||||
|
||||
bastille_running_jobs "${bastille_process_limit}"
|
||||
|
||||
done
|
||||
wait
|
||||
|
||||
bastille_return_exit_code
|
||||
|
||||
@@ -91,8 +91,6 @@ set_target "${TARGET}"
|
||||
|
||||
for _jail in ${JAILS}; do
|
||||
|
||||
(
|
||||
|
||||
# Validate jail state
|
||||
check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then
|
||||
bastille start "${_jail}"
|
||||
@@ -108,12 +106,7 @@ for _jail in ${JAILS}; do
|
||||
|
||||
bastille_check_exit_code "${_jail}" "$?"
|
||||
|
||||
) &
|
||||
|
||||
bastille_running_jobs "${bastille_process_limit}"
|
||||
|
||||
done
|
||||
wait
|
||||
echo
|
||||
|
||||
bastille_return_exit_code
|
||||
|
||||
Reference in New Issue
Block a user