Improve feedback for starting an app

This commit is contained in:
Page 2014-04-03 15:26:49 +01:00 committed by Pablo Carranza Vélez
parent eaa16ccd31
commit 4d4b633fde

View File

@ -69,10 +69,13 @@ exports.start = start = (app) ->
'/dev': {}
)
.then (container) ->
console.log('Starting container:', app)
container.startAsync(
Privileged: true
Binds: ['/dev:/dev']
)
.tap ->
console.log('Started container:', app)
exports.restart = restart = (app) ->
kill(app)