travis-ci/travis-cookbooks — pull request #140 by iconara (2013-01-18 12:45:30+00:00)
Title: Cassandra init script fix (now starting as the right user)

Hi guys, I'm really sorry that I missed that the cassandra service didn't start as the right user in my last PR. I hope this one will be the last patch needed. @michaelklishin pointed me to sous-chef which made it so much easier to get it right.

This patch makes sure Cassandra starts as the cassandra user, it fixes some hard coded paths in the init script, and I've made sure it uses `start-stop-daemon` to start and stop. I've also cleared out all the old setup code that is no longer needed (JAVA_HOME and the classpath is detected by Cassandra itself).