Skip to content

Commit

Permalink
kill specifically stanford corenlp server
Browse files Browse the repository at this point in the history
  • Loading branch information
alvations committed May 25, 2017
1 parent da083e8 commit d1f4e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ ! -d ${stanford_corenlp_package_name} ]]; then
rm ${stanford_corenlp_package_zip_name}
ln -s ${stanford_corenlp_package_name} 'stanford-corenlp'
# Kill all Java instances.
pkill -f 'java '
pkill -f '*edu.stanford.nlp.pipeline.StanfordCoreNLPServer*'
cd stanford-corenlp
nohup java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000 &
# Log the job ID and kill it before the end.
Expand Down

0 comments on commit d1f4e2c

Please sign in to comment.