| Andrew Geissler | 5f8e04a | 2021-08-12 15:51:41 -0400 | [diff] [blame] | 1 | [Unit] | 
 | 2 | Description=Recover host%i after bmc reboot | 
 | 3 | After=obmc-host-reset@%i.target | 
 | 4 | Wants=obmc-host-reset-running@%i.target | 
 | 5 | After=obmc-host-reset-running@%i.target | 
 | 6 | Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service | 
 | 7 | After=mapper-wait@-xyz-openbmc_project-state-host%i.service | 
 | 8 | ConditionPathExists=/run/openbmc/chassis@%i-on | 
 | 9 | ConditionPathExists=!/run/openbmc/host@%i-on | 
 | 10 | Conflicts=obmc-chassis-poweroff@%i.target | 
 | 11 |  | 
 | 12 | [Service] | 
 | 13 | Restart=no | 
 | 14 | Type=simple | 
 | 15 | RemainAfterExit=yes | 
 | 16 | ExecStart=/usr/bin/phosphor-host-reset-recovery | 
 | 17 |  | 
 | 18 |  | 
 | 19 | [Install] | 
 | 20 | WantedBy=obmc-chassis-poweron@%i.target |