outoftime/sunspot — pull request #7 by kkrol89 (2012-07-14 09:27:07+00:00)
Title: Fixed sunspot-solr stop - kill child processes

If you run globally (without bundle)
sunspot-solr start -p 8983
sunspot-solr stop
then java process with solr program is not killed properly and it still exists on processes list.

By running:
ps auxf
you can see that only parent process (sh) is killed and java process is still running.

This commit fixes this problem. Now sunspot-solr stop command kills also all child processes of process which pid was saved.