Add CentOS 6 support

Modify the init script template to support CentOS 6 in addition to
Debian 7.