Added support for CentOS a upstart.