Add support for restarting a service