Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix location pre-fix #28

Merged
merged 2 commits into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions pygeoweaver/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
echo "Stop running Geoweaver if any.."
pkill -f geoweaver.jar

echo "Check Java.."
touch ~/.bashrc && source ~/.bashrc
echo "Checking Java..."
if [! -f ~/.bashrc ]; then
touch ~/.bashrc
fi
source ~/.bashrc

echo "Start Geoweaver.."
nohup java -jar ~/geoweaver.jar > ~/geoweaver.log &
nohup ~/jdk/jdk-11.0.18+10/bin/java -jar ~/geoweaver.jar > ~/geoweaver.log &

STATUS=0
counter=0
Expand All @@ -25,4 +28,4 @@ if [ $counter == 20 ] ; then
else
echo "Success: Geoweaver is up"
exit 0
fi
fi