blob: a3222a950b1ee5722b33401e4438ed6f2909429c [file] [log] [blame]
Vishwanatha Subbanna35318402017-03-31 14:41:11 +05301[Unit]
2Description=Soft power off of the host
3Wants=mapper-wait@-org-openbmc-HostIpmi-1.service
4After=mapper-wait@-org-openbmc-HostIpmi-1.service
Andrew Geissler7290beb2020-10-30 13:43:52 -05005Wants=obmc-host-stop-pre@0.target
6Before=obmc-host-stop-pre@0.target
Andrew Geissler35349c02017-05-31 20:28:23 -05007Conflicts=obmc-host-start@0.target
Andrew Geissler82d4e112017-05-30 11:29:32 -05008ConditionPathExists=!/run/openbmc/host@0-request
Andrew Geissler4c6e2c12020-10-28 16:21:11 -05009ConditionPathExists=!/lib/systemd/system/pldmSoftPowerOff.service
Vishwanatha Subbanna35318402017-03-31 14:41:11 +053010
11[Service]
12Restart=no
Michael Tritzfbd81be2017-08-15 14:07:23 -050013ExecStart=/usr/bin/env phosphor-softpoweroff
14SyslogIdentifier=phosphor-softpoweroff
Vishwanatha Subbanna35318402017-03-31 14:41:11 +053015Type=oneshot