server/serverctl.py
changeset 3185 bd0126d17e83
parent 3163 edfe43ceaa35
parent 3184 613064b49331
child 3369 7b88d12b4ee2
--- a/server/serverctl.py	Thu Sep 10 08:13:22 2009 +0200
+++ b/server/serverctl.py	Fri Sep 11 15:57:34 2009 +0200
@@ -210,12 +210,12 @@
     cmdname = 'start'
     cfgname = 'repository'
 
-    def start_command(self, ctlconf, debug):
+    def start_server(self, ctlconf, debug):
         command = ['cubicweb-ctl start-repository ']
         if debug:
             command.append('--debug')
         command.append(self.config.appid)
-        return ' '.join(command)
+        os.system(' '.join(command))
 
 
 class RepositoryStopHandler(CommandHandler):