mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-24 04:55:42 +00:00
Merge pull request #116 from resin-io/bind-mount-connman
Bind mount /var/lib/connman to application containers.
This commit is contained in:
commit
a8df4c0021
@ -1,3 +1,4 @@
|
||||
* Bind mount host /var/lib/connman to application /host_var/lib/connman [Aleksis]
|
||||
* Add RESIN_SUPERVISOR_DELTA to special list so that app is not restarted when it changes [Pablo]
|
||||
|
||||
# v1.6.1
|
||||
|
@ -156,13 +156,17 @@ application.start = start = (app) ->
|
||||
'/lib/modules': {}
|
||||
'/lib/firmware': {}
|
||||
'/run/dbus': {}
|
||||
'/host/var/lib/connman': {}
|
||||
'/host/run/dbus': {}
|
||||
binds = [
|
||||
'/resin-data/' + app.appId + ':/data'
|
||||
'/lib/modules:/lib/modules'
|
||||
'/lib/firmware:/lib/firmware'
|
||||
'/run/dbus:/run/dbus'
|
||||
'/run/dbus:/host_run/dbus'
|
||||
'/run/dbus:/host/run/dbus'
|
||||
'/etc/resolv.conf:/etc/resolv.conf:rw'
|
||||
'/var/lib/connman:/host/var/lib/connman'
|
||||
]
|
||||
Promise.try ->
|
||||
# Parse the env vars before trying to access them, that's because they have to be stringified for knex..
|
||||
|
Loading…
x
Reference in New Issue
Block a user