Vishwanatha Subbanna | 3531840 | 2017-03-31 14:41:11 +0530 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Soft power off of the host |
| 3 | Wants=mapper-wait@-org-openbmc-HostIpmi-1.service |
| 4 | After=mapper-wait@-org-openbmc-HostIpmi-1.service |
Andrew Geissler | 7290beb | 2020-10-30 13:43:52 -0500 | [diff] [blame] | 5 | Wants=obmc-host-stop-pre@0.target |
| 6 | Before=obmc-host-stop-pre@0.target |
Andrew Geissler | 35349c0 | 2017-05-31 20:28:23 -0500 | [diff] [blame] | 7 | Conflicts=obmc-host-start@0.target |
Andrew Geissler | 82d4e11 | 2017-05-30 11:29:32 -0500 | [diff] [blame] | 8 | ConditionPathExists=!/run/openbmc/host@0-request |
Andrew Geissler | 4c6e2c1 | 2020-10-28 16:21:11 -0500 | [diff] [blame] | 9 | ConditionPathExists=!/lib/systemd/system/pldmSoftPowerOff.service |
Vishwanatha Subbanna | 3531840 | 2017-03-31 14:41:11 +0530 | [diff] [blame] | 10 | |
| 11 | [Service] |
| 12 | Restart=no |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 13 | ExecStart=/usr/bin/env phosphor-softpoweroff |
| 14 | SyslogIdentifier=phosphor-softpoweroff |
Vishwanatha Subbanna | 3531840 | 2017-03-31 14:41:11 +0530 | [diff] [blame] | 15 | Type=oneshot |