Potin Lai | 70f36d8 | 2022-03-15 10:25:39 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Phosphor Chassis%i State Manager |
| 3 | Before=mapper-wait@-xyz-openbmc_project-state-chassis%i.service |
| 4 | Wants=obmc-mapper.target |
| 5 | After=obmc-mapper.target |
| 6 | After=org.openbmc.control.Power@%i.service |
| 7 | Wants=xyz.openbmc_project.Logging.service |
| 8 | After=xyz.openbmc_project.Logging.service |
| 9 | |
| 10 | [Service] |
| 11 | ExecStart=/usr/bin/phosphor-chassis-state-manager --chassis %i |
| 12 | Restart=always |
| 13 | Type=dbus |
| 14 | BusName=xyz.openbmc_project.State.Chassis%i |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |