service generation api
hot-fix for Centos.