Exemple #1
0
    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)
Exemple #2
0
 def stop(self, config, args):
     client = Client(config)
     client.stop(args.name)