service start/restart api and test