Potin Lai | e096c41 | 2022-09-01 14:12:25 +0800 | [diff] [blame^] | 1 | [Unit] |
| 2 | Description=Bletchley host state and chassis power state initialize for sled%i |
| 3 | Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service |
| 4 | After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service |
| 5 | Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service |
| 6 | After=mapper-wait@-xyz-openbmc_project-state-host%i.service |
| 7 | |
| 8 | [Service] |
| 9 | ExecStart=/usr/libexec/bletchley-system-state-init %i |
| 10 | SyslogIdentifier=bletchley-system-state-init sled%i |
| 11 | Type=oneshot |
| 12 | RemainAfterExit=yes |
| 13 | Restart=on-failure |
| 14 | RestartSec=1 |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |