equal
deleted
inserted
replaced
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 |