server/serverctl.py
branch3.5
changeset 3184 613064b49331
parent 3115 29262ba01464
parent 3180 6bab5746ebf5
child 3185 bd0126d17e83
child 3301 1050fcfdb5cf
--- a/server/serverctl.py	Fri Sep 11 12:42:37 2009 +0200
+++ b/server/serverctl.py	Fri Sep 11 15:55:15 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):