You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by vo...@apache.org on 2019/08/26 02:51:42 UTC

[rocketmq-docker] 32/38: Chore(sh): silently chmod

This is an automated email from the ASF dual-hosted git repository.

vongosling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-docker.git

commit b2ffc010fe98ba01c5b6538d7629a151a4c38443
Author: 刘睿 <li...@liuruideMacBook-Pro.local>
AuthorDate: Thu Aug 22 21:01:32 2019 +0800

    Chore(sh): silently chmod
---
 templates/play-docker-compose.sh  | 2 +-
 templates/play-docker-deledger.sh | 2 +-
 templates/play-docker-tls.sh      | 2 +-
 templates/play-docker.sh          | 2 +-
 templates/play-kubernetes.sh      | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/templates/play-docker-compose.sh b/templates/play-docker-compose.sh
index a8093d2..dec720e 100755
--- a/templates/play-docker-compose.sh
+++ b/templates/play-docker-compose.sh
@@ -27,7 +27,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data
+chmod 777 -R data > /dev/null 2>&1
 
 # Run nameserver and broker
 docker-compose -f ./docker-compose/docker-compose.yml up -d
diff --git a/templates/play-docker-deledger.sh b/templates/play-docker-deledger.sh
index e3d8f10..aa07fe0 100755
--- a/templates/play-docker-deledger.sh
+++ b/templates/play-docker-deledger.sh
@@ -35,7 +35,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data
+chmod 777 -R data > /dev/null 2>&1
 
 echo "Starting RocketMQ nodes..."
 
diff --git a/templates/play-docker-tls.sh b/templates/play-docker-tls.sh
index 6df4f5f..19c428b 100755
--- a/templates/play-docker-tls.sh
+++ b/templates/play-docker-tls.sh
@@ -27,7 +27,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data
+chmod 777 -R data > /dev/null 2>&1
 
 echo "Starting RocketMQ nodes..."
 
diff --git a/templates/play-docker.sh b/templates/play-docker.sh
index 671c7fd..05272d7 100755
--- a/templates/play-docker.sh
+++ b/templates/play-docker.sh
@@ -45,7 +45,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data
+chmod 777 -R data > /dev/null 2>&1
 
 echo "Starting RocketMQ nodes..."
 
diff --git a/templates/play-kubernetes.sh b/templates/play-kubernetes.sh
index 6702b40..0b8a231 100755
--- a/templates/play-kubernetes.sh
+++ b/templates/play-kubernetes.sh
@@ -19,7 +19,7 @@ if [ ! -d "`pwd`/data" ]; then
   mkdir -p "data"
 fi
 
-chmod 777 -R data
+chmod 777 -R data > /dev/null 2>&1
 
 # Run nameserver and broker on your Kubernetes cluster
 kubectl apply -f kubernetes/deployment.yaml