예제 #1
0
파일: cli.py 프로젝트: f0rk/locald
    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)
예제 #2
0
파일: cli.py 프로젝트: f0rk/locald
 def restart(self, config, args):
     client = Client(config)
     client.restart(args.name)
예제 #3
0
파일: cli.py 프로젝트: f0rk/locald
 def stop(self, config, args):
     client = Client(config)
     client.stop(args.name)
예제 #4
0
파일: cli.py 프로젝트: f0rk/locald
 def status(self, config, args):
     client = Client(config)
     client.status(args.names)