summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShireesh Anjal <shireesh@gluster.com>2011-12-09 20:51:52 +0530
committerShireesh Anjal <shireesh@gluster.com>2011-12-09 21:32:07 +0530
commit7bde78d707cad0a9b71bc2f9dc25f263ddcb0626 (patch)
tree9dff67f3487ae387fcad500967b1c7c4d5709f41
parentd8861f4134dab57ed6c21f5f780acda629ed70a2 (diff)
Modified to create the directory /opt/glustermg/etc during installation
-rwxr-xr-xbuild/gmg-install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/gmg-install.sh b/build/gmg-install.sh
index 76026260..58491f5c 100755
--- a/build/gmg-install.sh
+++ b/build/gmg-install.sh
@@ -23,6 +23,7 @@
GMG_LOG_DIR="/var/log/glustermg";
GMG_ROOT_DIR="/opt/glustermg"
GMG_KEYS_DIR="${GMG_ROOT_DIR}/keys"
+GMG_ETC_DIR="${GMG_ROOT_DIR}/etc"
USAGE_ERR=1
TOMCAT_ERR=2
JAVA_ERR=3
@@ -117,7 +118,7 @@ function configure_server()
function make_dirs()
{
- mkdir -p $GMG_HOME_DIR $GMG_KEYS_DIR $GMG_LOG_DIR;
+ mkdir -p $GMG_HOME_DIR $GMG_KEYS_DIR $GMG_ETC_DIR $GMG_LOG_DIR
if [ ! -f ${GMG_KEYS_DIR}/gluster.pem ]; then
ssh-keygen -t rsa -f /opt/glustermg/keys/gluster.pem -N ''
mv -f /opt/glustermg/keys/gluster.pem.pub /opt/glustermg/keys/gluster.pub