Skip to content
Snippets Groups Projects
Commit 77529b5f authored by sveseli's avatar sveseli
Browse files

fix path for combined scripts

parent bfc120a8
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Helper script to start and stop DAQ node services
MYDIR=`dirname $0` && cd $MYDIR && MYDIR=`pwd`
MY_DIR=`dirname $0` && cd $MYDIR && MYDIR=`pwd`
# The list below defines order of starting/stopping services
startList="mongodb mongo-express daq-web-service cat-web-service"
......@@ -21,11 +21,10 @@ case $action in
esac
# Perform action
cd $MYDIR
serviceList="\$"${action}List
serviceList=`eval "echo $serviceList"`
for service in $serviceList; do
dm-$service $action
$MY_DIR/dm-$service $action
sleep 1
done
......@@ -2,7 +2,7 @@
# Helper script to start and stop DAQ node services
MYDIR=`dirname $0` && cd $MYDIR && MYDIR=`pwd`
MY_DIR=`dirname $0` && cd $MYDIR && MYDIR=`pwd`
# The list below defines order of starting/stopping services
startList="postgresql glassfish ds-web-service"
......@@ -21,11 +21,10 @@ case $action in
esac
# Perform action
cd $MYDIR
serviceList="\$"${action}List
serviceList=`eval "echo $serviceList"`
for service in $serviceList; do
dm-$service $action
$MY_DIR/dm-$service $action
sleep 1
done
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