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

View File

@@ -93,8 +93,6 @@ set_target "${TARGET}"
for _jail in ${JAILS}; do for _jail in ${JAILS}; do
(
# Validate jail state # Validate jail state
check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then
bastille start "${_jail}" bastille start "${_jail}"
@@ -114,12 +112,7 @@ for _jail in ${JAILS}; do
fi fi
bastille_check_exit_code "${_jail}" "$?" bastille_check_exit_code "${_jail}" "$?"
) &
bastille_running_jobs "${bastille_process_limit}"
done done
wait
bastille_return_exit_code bastille_return_exit_code

View File

@@ -91,8 +91,6 @@ set_target "${TARGET}"
for _jail in ${JAILS}; do for _jail in ${JAILS}; do
(
# Validate jail state # Validate jail state
check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then
bastille start "${_jail}" bastille start "${_jail}"
@@ -108,12 +106,7 @@ for _jail in ${JAILS}; do
bastille_check_exit_code "${_jail}" "$?" bastille_check_exit_code "${_jail}" "$?"
) &
bastille_running_jobs "${bastille_process_limit}"
done done
wait
echo echo
bastille_return_exit_code bastille_return_exit_code