'Returns the file name for a given kind of config file.'

def get_pid_file_name(self):

    if self.pid_file:
        return self.pid_file
    else:
        return utils.get_conf_file_name(self.pids_path, self.uuid, self.service_pid_fname)
