server/serverctl.py
branchstable
changeset 6778 7dd4835d5198
parent 6700 accb7290a31c
child 6779 accf5978a440
equal deleted inserted replaced
6777:1d423b7aa6c9 6778:7dd4835d5198
   235         if config.debugmode:
   235         if config.debugmode:
   236             command.append('--debug')
   236             command.append('--debug')
   237         command.append('--loglevel %s' % config['log-threshold'].lower())
   237         command.append('--loglevel %s' % config['log-threshold'].lower())
   238         command.append(config.appid)
   238         command.append(config.appid)
   239         os.system(' '.join(command))
   239         os.system(' '.join(command))
       
   240         return 1
   240 
   241 
   241 
   242 
   242 class RepositoryStopHandler(CommandHandler):
   243 class RepositoryStopHandler(CommandHandler):
   243     cmdname = 'stop'
   244     cmdname = 'stop'
   244     cfgname = 'repository'
   245     cfgname = 'repository'