use restartService rest endpoint for restart