def init(self): self.title = 'Supervisor' self.icon = 'play' self.category = 'Software' self.append(self.ui.inflate('supervisor:main')) self.mgr = SupervisorServiceManager.get() self.binder = Binder(None, self.find('main')) self.find('programs').new_item = lambda c: ProgramData() self.config = SupervisorConfig(path='/etc/supervisor/supervisord.conf')
def init(self): self.title = 'Supervisor' self.icon = 'play' self.category = _('Software') self.append(self.ui.inflate('supervisor:main')) self.mgr = SupervisorServiceManager.get() self.binder = Binder(None, self.find('main')) self.find('programs').new_item = lambda c: ProgramData() self.config = SupervisorConfig(path='/etc/supervisor/supervisord.conf')
def init(self): self.title = 'Supervisor' self.icon = 'play' self.category = _('Software') self.append(self.ui.inflate('supervisor:main')) self.mgr = SupervisorServiceManager.get() self.binder = Binder(None, self.find('main')) self.find('programs').new_item = lambda c: ProgramData() self.config = SupervisorConfig(path=platform_select( default='/etc/supervisor/supervisord.conf', centos='/etc/supervisord.conf', )) self.find('servicebar').name = platform_select( centos='supervisord', default='supervisor', ) self.find('servicebar').reload()