equal
deleted
inserted
replaced
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 |