X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2Fdstop.sh;h=6549f3cf4523934749968ba2788795c4e5c9463e;hb=96bf6a2771dfe992fb27bd6361d191d83b6ff605;hp=4d302bd178fa4180e49db7973d108d0eb2b32ebf;hpb=12414fe43077e12d7ef711951b1633ad31d73573;p=aaf%2Fauthz.git diff --git a/auth/docker/dstop.sh b/auth/docker/dstop.sh index 4d302bd1..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=$(cat 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 +