equal
deleted
inserted
replaced
208 |
208 |
209 class RepositoryStartHandler(CommandHandler): |
209 class RepositoryStartHandler(CommandHandler): |
210 cmdname = 'start' |
210 cmdname = 'start' |
211 cfgname = 'repository' |
211 cfgname = 'repository' |
212 |
212 |
213 def start_command(self, ctlconf, debug): |
213 def start_server(self, ctlconf, debug): |
214 command = ['cubicweb-ctl start-repository '] |
214 command = ['cubicweb-ctl start-repository '] |
215 if debug: |
215 if debug: |
216 command.append('--debug') |
216 command.append('--debug') |
217 command.append(self.config.appid) |
217 command.append(self.config.appid) |
218 return ' '.join(command) |
218 os.system(' '.join(command)) |
219 |
219 |
220 |
220 |
221 class RepositoryStopHandler(CommandHandler): |
221 class RepositoryStopHandler(CommandHandler): |
222 cmdname = 'stop' |
222 cmdname = 'stop' |
223 cfgname = 'repository' |
223 cfgname = 'repository' |