Skip to content
Snippets Groups Projects
Commit 742d425a authored by Jan David Mol's avatar Jan David Mol
Browse files

SW-610: Use correct name for dbcredentials entry

parent 1c23f5f6
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ ps -ef | grep -v grep | grep java | grep server | grep $port1 2>&1 1>/dev/null ...@@ -163,7 +163,7 @@ ps -ef | grep -v grep | grep java | grep server | grep $port1 2>&1 1>/dev/null
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
# use dbcredentials.py to extract OTDB credentials in shell form # use dbcredentials.py to extract OTDB credentials in shell form
source /opt/lofar/lofarinit.sh source /opt/lofar/lofarinit.sh
declare `dbcredentials -D jOTDBServer -S` declare `dbcredentials -D jOTDBserver -S`
$JAVA_HOME/bin/java -cp $CLASSPATH nl.astron.lofar.sas.otb.jotdb3.jOTDBserver -s `hostname` -d $DBHOST -P $DBPORT -p $port1 -o $port2 -U $DBUSER -W "$DBPASSWORD" 2>&1 1>&$logfile & $JAVA_HOME/bin/java -cp $CLASSPATH nl.astron.lofar.sas.otb.jotdb3.jOTDBserver -s `hostname` -d $DBHOST -P $DBPORT -p $port1 -o $port2 -U $DBUSER -W "$DBPASSWORD" 2>&1 1>&$logfile &
serverpid=$! serverpid=$!
......
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