Redhat Support

This is a merge-rebase and fixup of #19 
Probably this is required by InfluxDB now and my knowledge is just poor :) but is this really required or was there another motivation for this change?