server/serverctl.py
changeset 10237 1e030b1a5622
parent 10236 ef3059a692cb
child 10354 635cfac73d28
--- a/server/serverctl.py	Fri Mar 13 14:10:40 2015 +0100
+++ b/server/serverctl.py	Fri Mar 13 14:12:03 2015 +0100
@@ -295,28 +295,6 @@
                     raise ExecutionError(str(exc))
 
 
-class RepositoryStartHandler(CommandHandler):
-    cmdname = 'start'
-    cfgname = 'repository'
-
-    def start_server(self, config):
-        command = ['cubicweb-ctl', 'start-repository']
-        if config.debugmode:
-            command.append('--debug')
-        command.append('--loglevel')
-        command.append(config['log-threshold'].lower())
-        command.append(config.appid)
-        subprocess.call(command)
-        return 1
-
-
-class RepositoryStopHandler(CommandHandler):
-    cmdname = 'stop'
-    cfgname = 'repository'
-
-    def poststop(self):
-        pass
-
 # repository specific commands ################################################
 
 def createdb(helper, source, dbcnx, cursor, **kwargs):