def server_stop(self, config, args): if is_server_running(config): client = Client(config) names = self.get_services(config, "ALL") for name in names: client.stop(name) stop_server(config)
def restart(self, config, args): client = Client(config) client.restart(args.name)
def stop(self, config, args): client = Client(config) client.stop(args.name)
def status(self, config, args): client = Client(config) client.status(args.names)