Add CentOS 6 support

Modify the init script template to support CentOS 6 in addition to
Debian 7.
Merge pull request #4 from fpringvaldsen/cent6support

Add CentOS 6 support