cwctl.py
changeset 3589 a5432f99f2d9
parent 3503 06bced8edddf
parent 3562 cff18f0d7c73
child 3629 559cad62c786
equal deleted inserted replaced
3536:f6c9a5df80fb 3589:a5432f99f2d9
   413         if exists(pidf) and not force:
   413         if exists(pidf) and not force:
   414             msg = "%s seems to be running. Remove %s by hand if necessary or use \
   414             msg = "%s seems to be running. Remove %s by hand if necessary or use \
   415 the --force option."
   415 the --force option."
   416             raise ExecutionError(msg % (appid, pidf))
   416             raise ExecutionError(msg % (appid, pidf))
   417         helper.start_server(config, debug)
   417         helper.start_server(config, debug)
   418         if not debug:
       
   419             # in debug mode, we reach this point once the instance is stopped...
       
   420             print 'instance %s %s' % (appid, self.actionverb)
       
   421 
   418 
   422 
   419 
   423 class StopInstanceCommand(InstanceCommand):
   420 class StopInstanceCommand(InstanceCommand):
   424     """Stop the given instances.
   421     """Stop the given instances.
   425 
   422