patchd initd for rhel and fixed xml templates, got service up and running