Skip to content
Snippets Groups Projects
Commit 57fe9caa authored by brinn's avatar brinn
Browse files

Ensure we do not start up the openBIS AS when an instance is already running.

SVN: 26501
parent a94dc517
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,12 @@ source `dirname "$0"`/setup-env
checkNotRoot
source `dirname "$0"`/status.sh > /dev/null
if [ $? -eq 0 ]; then
echo openBIS AS already running, shut it down before start a new one.
exit 1
fi
$JVM -DSTOP.PORT=$JETTY_STOP_PORT \
-DSTOP.KEY=$JETTY_STOP_KEY \
$JAVA_OPTS $JAVA_MEM_OPTS \
......
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