add metadataservice conf to sh