ThuBaNguyen | 98f43be | 2021-07-01 22:29:49 +0700 | [diff] [blame^] | 1 | [Unit] |
2 | Description=Ampere Soft power off of the host | ||||
3 | Wants=obmc-host-stop-pre@0.target | ||||
4 | Before=obmc-host-stop-pre@0.target | ||||
5 | Conflicts=obmc-host-start@0.target | ||||
6 | ConditionPathExists=!/run/openbmc/host@0-request | ||||
7 | ConditionPathExists=!/lib/systemd/system/pldmSoftPowerOff.service | ||||
8 | |||||
9 | [Service] | ||||
10 | Restart=no | ||||
11 | ExecStart=/usr/bin/env phosphor-softpoweroff | ||||
12 | SyslogIdentifier=phosphor-softpoweroff | ||||
13 | Type=oneshot |