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
mkdir tmp
mkdir tmp/bin
cp /usr/sbin/cassandra tmp/bin/cassandra
cd Solandra
ant
ant -Dcassandra=/root/tmp/ cassandra-dist
cd ../tmp
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.
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:
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.