summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/feeder/src/assembly/run.sh
blob: a061bfcf5801af03258c3fd0b48fd5d1d477f5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

echo "start init db ..."

/bin/run-parts /home/datalake/db_init

echo "finish init db"

cmd=`ls feeder-*.jar`
if [ -z "$cmd" ]; then
    echo "STRING is empty"
    sleep 10000
else
    java -jar $cmd
fi