Skip to content

Commit

Permalink
script to kill and restart web service using derby; can be called by …
Browse files Browse the repository at this point in the history
…crontab

git-svn-id: http://svn.bigcat.unimaas.nl/bridgedb/trunk@435 e3f1d335-44b1-4163-9530-9b341189ae98
  • Loading branch information
AlexanderPico authored and AlexanderPico committed Aug 25, 2010
1 parent 53f4536 commit fe9f40d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions start-server-derby.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
kill -9 `ps -ef|grep bridgedb|awk '{print $2}'`
sleep 5
java -cp dist/org.bridgedb.server.jar:dist/org.bridgedb.jar org.bridgedb.server.Server "$@"

0 comments on commit fe9f40d

Please sign in to comment.