mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-18 17:00:25 +00:00
Improve feedback for starting an app
This commit is contained in:
parent
eaa16ccd31
commit
4d4b633fde
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user