Files
OpenBMC/meta-ufispace/meta-ncplite/recipes-phosphor/state/phosphor-state-manager/ncplite-host-off@.service
T

17 lines
581 B
Desktop File
Raw Normal View History

2026-04-23 17:07:55 +08:00
[Unit]
Description=NCPLite Host%i Off
Before=obmc-chassis-hard-poweroff@%i.target
Before=obmc-chassis-poweroff@%i.target
Conflicts=obmc-host-startmin@%i.target
OnFailure=obmc-chassis-poweroff@%i.target
OnFailureJobMode=flush
[Service]
Type=oneshot
ExecStart=@SBINDIR@/host-control gracefuloff
ExecStartPost=/bin/sh -c "busctl call xyz.openbmc_project.Logging.IPMI \
/xyz/openbmc_project/Logging/IPMI \
xyz.openbmc_project.Logging.IPMI IpmiSelAdd ssaybq \
'Power Button Pressed' '/xyz/openbmc_project/state/chassis0' \
3 0x00 0xff 0xff true 0x0020"