diff --git a/.gitignore b/.gitignore index 8fa732fd5..d2340d41e 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ broker/core/test-output/ tmp/ /test-output /bin +open-refine.log diff --git a/start.sh b/start.sh new file mode 100644 index 000000000..3186cd56e --- /dev/null +++ b/start.sh @@ -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" diff --git a/stop.sh b/stop.sh new file mode 100644 index 000000000..dc6c85e34 --- /dev/null +++ b/stop.sh @@ -0,0 +1,2 @@ +ps -ef | grep refine | awk '{print $2}' | awk 'NR==1' | xargs kill +echo 'successfully stopped open-refine'