@@ -20,6 +20,7 @@ service docker restart
chmod -R +x src/*.py
chmod -R +x src/shell
+chmod -R 777 container/share/
basepath=$(cd `dirname $0`; pwd)
ln -sf $basepath/src/main.py /usr/bin/dm
chmod +x /usr/bin/dm
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
set -e
-chmod -R 777 $2/container/share/process/
-chmod -R 777 $2/container/conf/elastic/elasticsearch/scripts/
+chmod -R 777 ${2}container/share/process/
+chmod -R 777 ${2}container/conf/elastic/elasticsearch/scripts/
sysctl -w vm.max_map_count=362144
@@ -1,8 +1,8 @@
-mkdir -p $2/container/share/lib/
-chmod -R 777 $2/container/share/lib/
+mkdir -p ${2}container/share/lib/
+chmod -R 777 ${2}container/share/lib/
#path=${2}conf/java/hadoop
#slave=${path}slaves
#后续完成