use the same init script on ubuntu and redhat