Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- export PATH=$PATH:/usr/bin/
- if ps ax | grep derbyrun.ja[r] > /dev/null
- then
- echo -n ""
- else
- echo "Derby not running, restarting..."
- screen -S derby -dm /usr/bin/java -jar /usr/local/derby/lib/derbyrun.jar server start -h 0.0.0.0 &
- fi
Advertisement
Add Comment
Please, Sign In to add comment