Exemplo n.º 1
0
 def _repeater_default(self):
     '''
     '''
     if globalv.use_ipc:
         c = CommandRepeater(logger_name='{}_repeater'.format(self.name),
                             name=self.name,
                             configuration_dir_name='servers')
         if c.bootstrap():
             return c
Exemplo n.º 2
0
 def _repeater_default(self):
     """
     """
     if globalv.use_ipc:
         c = CommandRepeater(
             logger_name='{}_repeater'.format(self.name),
             name=self.name,
             config_path=os.path.join(paths.root, 'servers', '{}.cfg'.format(self.name)))
         if c.bootstrap():
             return c
Exemplo n.º 3
0
 def _repeater_default(self):
     '''
     '''
     if globalv.use_ipc:
         c = CommandRepeater(
                     logger_name='{}_repeater'.format(self.name),
                     name=self.name,
                        configuration_dir_name='servers')
         if c.bootstrap():
             return c
Exemplo n.º 4
0
 def _repeater_default(self):
     """
     """
     if globalv.use_ipc:
         c = CommandRepeater(logger_name='{}_repeater'.format(self.name),
                             name=self.name,
                             config_path=os.path.join(
                                 paths.root, 'servers',
                                 '{}.cfg'.format(self.name)))
         if c.bootstrap():
             return c