X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2Fdstop.sh;h=6105a00bc54b12d1b763b98a9ba57d2592d474e4;hb=refs%2Fheads%2Fmaster;hp=256385d526b39021892ded172fb5d2198718f309;hpb=3505a52ac853c134ecaf40f2977667de8770ec59;p=aaf%2Fauthz.git diff --git a/auth/docker/dstop.sh b/auth/docker/dstop.sh index 256385d5..6549f3cf 100644 --- a/auth/docker/dstop.sh +++ b/auth/docker/dstop.sh @@ -22,8 +22,14 @@ . ./d.props DOCKER=${DOCKER:=docker} -if [ "$1" == "" ]; then - AAF_COMPONENTS=$(tail -r components) +if [ "$1" = "all" ]; then + AAF_COMPONENTS="cass" + shift +fi +if [ -z "$1" ]; then + for C in $(cat components); do + AAF_COMPONENTS="$C $AAF_COMPONENTS" + done else AAF_COMPONENTS="$@" fi @@ -31,3 +37,4 @@ fi for AAF_COMPONENT in ${AAF_COMPONENTS}; do $DOCKER stop aaf-$AAF_COMPONENT done +