Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
changed to unmaintained
[aaf/authz.git]
/
auth
/
docker
/
dstop.sh
diff --git
a/auth/docker/dstop.sh
b/auth/docker/dstop.sh
index
cebf4eb
..
6549f3c
100644
(file)
--- a/
auth/docker/dstop.sh
+++ b/
auth/docker/dstop.sh
@@
-22,12
+22,19
@@
. ./d.props
DOCKER=${DOCKER:=docker}
. ./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
for AAF_COMPONENT in ${AAF_COMPONENTS}; do
else
AAF_COMPONENTS="$@"
fi
for AAF_COMPONENT in ${AAF_COMPONENTS}; do
- $DOCKER stop aaf
_$AAF_COMPONENT
+ $DOCKER stop aaf
-$AAF_COMPONENT
done
done
+