disable api server and dashboard services if service == false