This class was made to conform with the CassandraDaemon Interface, so I can use Solandra in production (I use Ubuntu) using the Apache Cassandra PPA.
To do that I do:
git clone git://github.com/tjake/Solandra.git
cp /usr/sbin/cassandra tmp/bin/cassandra
ant -Dcassandra=/root/tmp/ cassandra-dist
cp conf/* /etc/cassandra/
\# Verify if override
cp -i lib/* /usr/share/cassandra/lib/
cp bin/solandra /usr/sbin/solandra
After that I edited the /etc/init.d/cassandra script to point to solandra.SolandraDaemon
Personally I believe this is all very simple, and valid to run solandra as a daemon and with the correct structure on Ubuntu.
SolandraDaemon (Working Version)
Looks good, thanks!