add instance runit support and fix cache_path error