wmstartup: Minor change to execution order

This commit is contained in:
Salt 2018-08-27 20:50:23 -05:00
parent e96a76e29a
commit 150127751f

View File

@ -85,17 +85,6 @@ else
dtf_log "Performing a subset of all tasks"
fi
## Determine which services to run
# Same as above
if [[ "$DTF_SERVICES" == "" ]]; then
dtf_log "Starting all available services"
for service in $DTF_SERVICES_DIR/*.dtf; do
export DTF_SERVICES="$DTF_SERVICES $(basename "$service")"
done
else
dtf_log "Starting a subset of available services"
fi
## Run tasks
for task in $DTF_TASKS; do
task_full="$DTF_TASKS_DIR/$task"
@ -113,6 +102,17 @@ for task in $DTF_TASKS; do
)
done
## Determine which services to run
# Same as above
if [[ "$DTF_SERVICES" == "" ]]; then
dtf_log "Starting all available services"
for service in $DTF_SERVICES_DIR/*.dtf; do
export DTF_SERVICES="$DTF_SERVICES $(basename "$service")"
done
else
dtf_log "Starting a subset of available services"
fi
## Run startup scripts
for service in $DTF_SERVICES; do
service_full="$DTF_SERVICES_DIR/$service"