This commit is contained in:
jackyq2015 2017-07-28 20:37:50 -04:00
commit 8b2d21d7aa
3 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ broker/core/test-output/
tmp/ tmp/
/test-output /test-output
/bin /bin
open-refine.log

6
start.sh Normal file
View File

@ -0,0 +1,6 @@
echo 'Starting open refine'
read -p "Enter IP Address [Default 127.0.0.1]: " ip
ip=${ip:-127.0.0.1}
nohup ./refine -i $ip > open-refine.log 2>&1 &
echo "Started Open-Refine on" $ip
echo "open refine started, check log through -> tail -f open-refine.log"

2
stop.sh Normal file
View File

@ -0,0 +1,2 @@
ps -ef | grep refine | awk '{print $2}' | awk 'NR==1' | xargs kill
echo 'successfully stopped open-refine'