server/serverctl.py
branchstable
changeset 3180 6bab5746ebf5
parent 2969 d95f23a0fc3b
child 3184 613064b49331
--- a/server/serverctl.py	Fri Sep 11 13:40:49 2009 +0200
+++ b/server/serverctl.py	Fri Sep 11 14:16:06 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):