JeremyGrosser / tablesnap

Uses inotify to monitor Cassandra SSTables and upload them to S3
BSD 2-Clause "Simplified" License
181 stars 86 forks source link

Update debian init #24

Closed ctavan closed 11 years ago

ctavan commented 11 years ago

This is my try to make the init-script work better on ubuntu. I'm using start-stop-daemon instead of daemon, since daemon is not installed on ubuntu by default. I don't know whether that has any compatibility-consequences with debian...

I also made tablesnap log to syslog if the corresponding TABLESNAP_SYSLOG variable is set to true.

What do you think about this patch?