Merge Stefan's changes for TIDS init scripts for Centos.