summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-host/ampere.xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
blob: 01b31b1b3cd094a116e70fc9fb30a9f022dae711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Ampere Soft power off of the host
Wants=obmc-host-stop-pre@0.target
Before=obmc-host-stop-pre@0.target
Conflicts=obmc-host-start@0.target
ConditionPathExists=!/run/openbmc/host@0-request
ConditionPathExists=!/lib/systemd/system/pldmSoftPowerOff.service

[Service]
Restart=no
ExecStart=/usr/bin/env phosphor-softpoweroff
SyslogIdentifier=phosphor-softpoweroff
Type=oneshot