def stop(self): try: sh.stop(self.name) except: self.lgr.info('Service already stopped.')
def ui_command_stop_services(self): return sh.stop("solarsan")