blob: 1c18f652c0c7c24a194dedc9c3158ec9f47ae436 [file] [log] [blame] [edit]
// Copyright 2022 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.
{
program: {
runner: "elf",
binary: "bin/shutdown-shim",
lifecycle: { stop_event: "notify" },
main_process_critical: "true",
forward_stdout_to: "none",
forward_stderr_to: "none",
},
capabilities: [
{ protocol: "fuchsia.device.manager.SystemStateTransition" },
{ protocol: "fuchsia.hardware.power.statecontrol.Admin" },
],
use: [
{
protocol: [
"fuchsia.boot.WriteOnlyLog",
"fuchsia.hardware.power.statecontrol.Admin",
"fuchsia.sys2.SystemController",
],
},
],
expose: [
{
protocol: [
"fuchsia.device.manager.SystemStateTransition",
"fuchsia.hardware.power.statecontrol.Admin",
],
from: "self",
},
],
}