From abf9703e6a72517386bb16337e020ac358af0410 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 29 Nov 2013 14:44:37 +0100 Subject: [PATCH] Make new configuration directory from config --- scripts/make_new_config.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/make_new_config.sh diff --git a/scripts/make_new_config.sh b/scripts/make_new_config.sh new file mode 100755 index 0000000..034e15c --- /dev/null +++ b/scripts/make_new_config.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +INSTALL_PATH=`pwd` +CONFIG=$1 +mkdir -p ${CONFIG} +ln -s ${INSTALL_PATH}/etc ${CONFIG}/ +ln -s ${INSTALL_PATH}/contexts ${CONFIG}/ +ln -s ${INSTALL_PATH}/lib ${CONFIG}/ +ln -s ${INSTALL_PATH}/webapps ${CONFIG}/ +ln -s ${INSTALL_PATH}/resources ${CONFIG}/ +ln -s ${INSTALL_PATH}/start.jar ${CONFIG}/ +ln -s ${INSTALL_PATH}/zookeeper.sh ${CONFIG}/ +cp -rp ${INSTALL_PATH}/solr ${CONFIG}/ +mkdir -p ${CONFIG}/logs \ No newline at end of file -- 1.7.10.4