fix config path for centos/redhat