summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
blob: 7aee76f3fe9c2dde7862f55aac97720c06181676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Soft power off of the host
Wants=mapper-wait@-org-openbmc-HostIpmi-1.service
After=mapper-wait@-org-openbmc-HostIpmi-1.service
Wants=obmc-host-stopping@0.target
Before=obmc-host-stopping@0.target
Conflicts=obmc-host-start@0.target
ConditionPathExists=!/run/openbmc/host@0-request

[Service]
Restart=no
ExecStart={sbindir}/phosphor-softpoweroff
Type=oneshot
OpenPOWER on IntegriCloud