Allen.Wang | 79b4500 | 2022-02-10 17:59:20 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Phosphor Host%i State Manager |
| 3 | Wants=mapper-wait@-xyz-openbmc_project-control-host%i-auto_reboot.service |
| 4 | After=mapper-wait@-xyz-openbmc_project-control-host%i-auto_reboot.service |
Patrick Williams | f993871 | 2022-04-08 10:42:01 -0500 | [diff] [blame^] | 5 | Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service |
| 6 | After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service |
Allen.Wang | 79b4500 | 2022-02-10 17:59:20 +0800 | [diff] [blame] | 7 | Wants=obmc-mapper.target |
| 8 | After=obmc-mapper.target |
| 9 | After=phosphor-ipmi-host.service |
| 10 | After=pldmd.service |
| 11 | Before=obmc-host-reset@%i.target |
| 12 | |
| 13 | [Service] |
| 14 | ExecStart=/usr/bin/phosphor-host-state-manager --host %i |
| 15 | Restart=always |
| 16 | Type=dbus |
| 17 | BusName=xyz.openbmc_project.State.Host%i |
| 18 | |
| 19 | [Install] |
| 20 | WantedBy=multi-user.target |