Skip to content
Snippets Groups Projects
Commit 651a9a51 authored by felmer's avatar felmer
Browse files

LMS-803 bugs fixed

SVN: 10513
parent 645cf699
No related branches found
No related tags found
No related merge requests found
...@@ -3,11 +3,6 @@ ...@@ -3,11 +3,6 @@
# This script assumes that you already are on the sprint server and must be run from that place # This script assumes that you already are on the sprint server and must be run from that place
# in the home directory. # in the home directory.
if [ $# -lt 1 ]; then
echo "Usage: $0 [<sprint number>]"
exit 1
fi
VER=SNAPSHOT VER=SNAPSHOT
if [ $1 ]; then if [ $1 ]; then
VER=$1 VER=$1
...@@ -44,7 +39,8 @@ cd openBIS-server ...@@ -44,7 +39,8 @@ cd openBIS-server
cp -p $KEYSTORE apache-tomcat/openBIS.keystore cp -p $KEYSTORE apache-tomcat/openBIS.keystore
sed 's/-Djavax.net.ssl.trustStore=openBIS.keystore //g' apache-tomcat/bin/startup.sh > new-startup.sh sed 's/-Djavax.net.ssl.trustStore=openBIS.keystore //g' apache-tomcat/bin/startup.sh > new-startup.sh
mv -f new-startup.sh apache-tomcat/bin/startup.sh mv -f new-startup.sh apache-tomcat/bin/startup.sh
bin/startup.sh chmod 744 apache-tomcat/bin/startup.sh
apache-tomcat/bin/startup.sh
echo Installing datastore server... echo Installing datastore server...
cd .. cd ..
...@@ -52,6 +48,7 @@ unzip ../datastore_server*$VER* ...@@ -52,6 +48,7 @@ unzip ../datastore_server*$VER*
cd datastore_server cd datastore_server
cp -p ~/datastore_server-service.properties etc/service.properties cp -p ~/datastore_server-service.properties etc/service.properties
cp -p $KEYSTORE etc/openBIS.keystore cp -p $KEYSTORE etc/openBIS.keystore
mv -f old/sprint-$PREV_VER/datastore_server/data/store/* data/store
chmod 700 datastore_server.sh chmod 700 datastore_server.sh
export JAVA_HOME=/usr export JAVA_HOME=/usr
./datastore_server.sh start ./datastore_server.sh start
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment