diff --git a/usr/local/bin/bastille b/usr/local/bin/bastille index 3aea524e..ca0418bc 100755 --- a/usr/local/bin/bastille +++ b/usr/local/bin/bastille @@ -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| \ diff --git a/usr/local/share/bastille/cmd.sh b/usr/local/share/bastille/cmd.sh index 2f8c05e9..10f15fb7 100644 --- a/usr/local/share/bastille/cmd.sh +++ b/usr/local/share/bastille/cmd.sh @@ -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 diff --git a/usr/local/share/bastille/service.sh b/usr/local/share/bastille/service.sh index 9551307c..b2988066 100644 --- a/usr/local/share/bastille/service.sh +++ b/usr/local/share/bastille/service.sh @@ -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