changed paths for pid and log for RedHat osfamily