Created init script compatible to RedHat and Centos