server/serverctl.py
changeset 5442 3ed8afbbdf70
parent 5424 8ecbcbff9777
child 5555 a64f48dd5fe4
equal deleted inserted replaced
5438:2a9181b82806 5442:3ed8afbbdf70
   247 
   247 
   248 class RepositoryStartHandler(CommandHandler):
   248 class RepositoryStartHandler(CommandHandler):
   249     cmdname = 'start'
   249     cmdname = 'start'
   250     cfgname = 'repository'
   250     cfgname = 'repository'
   251 
   251 
   252     def start_server(self, ctlconf, debug):
   252     def start_server(self, ctlconf):
   253         command = ['cubicweb-ctl start-repository ']
   253         command = ['cubicweb-ctl start-repository ']
   254         if debug:
   254         if ctlconf.debugmode:
   255             command.append('--debug')
   255             command.append('--debug')
   256         command.append(self.config.appid)
   256         command.append(self.config.appid)
   257         os.system(' '.join(command))
   257         os.system(' '.join(command))
   258 
   258 
   259 
   259