Files
OpenBMC/meta-phosphor/recipes-phosphor/chassis/phosphor-skeleton-control-power/phosphor-wait-power-off@.service
T

24 lines
768 B
Desktop File
Raw Normal View History

2026-04-23 17:07:55 +08:00
[Unit]
Description=Wait for Power%i to turn off
Before=obmc-power-off@%i.target
Wants=obmc-power-stop@%i.target
Before=obmc-power-stop@%i.target
Wants=obmc-power-stop-pre@%i.target
After=obmc-power-stop-pre@%i.target
Wants=mapper-wait@-org-openbmc-control-power%i.service
After=mapper-wait@-org-openbmc-control-power%i.service
Conflicts=obmc-chassis-poweron@%i.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/env pgood_wait /org/openbmc/control/power%i off
SyslogIdentifier=pgood_wait
ExecStart=/bin/rm -f /run/openbmc/host@%i-request
ExecStart=/bin/rm -f /run/openbmc/mpreboot@%i
[Install]
# Installation of templated services occur in bitbake recipes
# Leave it commented out here for documentation purposes
#WantedBy=obmc-host-stop@%i.target