parallel mode: Remove cmd and service

This commit is contained in:
tschettervictor
2025-07-12 16:44:57 -06:00
parent 63845580ae
commit 6f7a2fbcdb
3 changed files with 2 additions and 16 deletions

View File

@@ -203,6 +203,7 @@ case "${CMD}" in
# Commands that don't allow parallel mode
bootstrap| \
clone| \
cmd| \
console| \
convert| \
create| \
@@ -217,6 +218,7 @@ case "${CMD}" in
rcp| \
rdr| \
rename| \
service| \
setup| \
top| \
update| \
@@ -227,7 +229,6 @@ case "${CMD}" in
fi
;;
# Commands that allow parallel mode
cmd| \
config| \
cp| \
destroy| \
@@ -237,7 +238,6 @@ case "${CMD}" in
mount| \
pkg| \
restart| \
service| \
start| \
stop| \
sysrc| \

View File

@@ -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

View File

@@ -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