fix the path to config file in rc script