code: def daemon_mode(self, args, options):
          
          cws = ControlWebSocket(self, args, options)
          cws.start()
          if 'cmdsock' in args and args['cmdsock']:
              lcs = LocalControlSocket(self, args, options)
              lcs.start()
              lcs.join()
          cws.join()
docs: Open a ControlWebSocket to SushiBar server and listend for remote commands.
          Args:
              args (dict): chef command line arguments
              options (dict): additional compatibility mode options given on command line