| // Copyright 2023 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| { |
| collections: [ |
| { |
| name: "daemons", |
| environment: "#daemon-env", |
| durability: "single_run", |
| }, |
| ], |
| capabilities: [ |
| { |
| runner: "starnix_container", |
| path: "/svc/fuchsia.component.runner.ComponentRunner", |
| }, |
| { |
| protocol: [ |
| "fuchsia.component.runner.ComponentRunner", |
| "fuchsia.starnix.container.Controller", |
| ], |
| }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.session.power.Handoff", |
| from: "parent", |
| availability: "optional", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ |
| "fuchsia.inspect.InspectSink", |
| "fuchsia.logger.LogSink", |
| ], |
| from: "parent", |
| to: "#daemons", |
| }, |
| ], |
| expose: [ |
| { |
| runner: "starnix_container", |
| from: "self", |
| }, |
| { |
| protocol: [ |
| "fuchsia.component.runner.ComponentRunner", |
| "fuchsia.starnix.container.Controller", |
| ], |
| from: "self", |
| }, |
| ], |
| environments: [ |
| { |
| name: "daemon-env", |
| extends: "realm", |
| runners: [ |
| { |
| runner: "starnix_container", |
| from: "self", |
| }, |
| ], |
| }, |
| ], |
| } |