How to restart services, from the gui and command line