add restart service for api