|
@ -1033,6 +1033,7 @@ _rec_get_depth() { |
|
|
} |
|
|
} |
|
|
export -f _rec_get_depth |
|
|
export -f _rec_get_depth |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_ordered_service_dependencies() { |
|
|
get_ordered_service_dependencies() { |
|
|
local services=("$@") cache_file="$state_tmpdir/$FUNCNAME.cache.$(echo "$*" | md5_compat)" |
|
|
local services=("$@") cache_file="$state_tmpdir/$FUNCNAME.cache.$(echo "$*" | md5_compat)" |
|
|
if [ -e "$cache_file" ]; then |
|
|
if [ -e "$cache_file" ]; then |
|
@ -1664,7 +1665,6 @@ export -f has_service_action |
|
|
run_service_action () { |
|
|
run_service_action () { |
|
|
local service="$1" action="$2" |
|
|
local service="$1" action="$2" |
|
|
shift ; shift |
|
|
shift ; shift |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
if ! read-0 action_type; then |
|
|
if ! read-0 action_type; then |
|
|
info "Service $DARKYELLOW$service$NORMAL does not have any action $DARKCYAN$action$NORMAL defined." |
|
|
info "Service $DARKYELLOW$service$NORMAL does not have any action $DARKCYAN$action$NORMAL defined." |
|
|