| Andrew Geissler | afe12d6 | 2023-04-28 14:58:16 -0600 | [diff] [blame] | 1 | [Unit] | 
|  | 2 | Description=Create info log indicating chassis%i poweron has started | 
|  | 3 | Wants=obmc-power-start-pre@%i.target | 
|  | 4 | Before=obmc-power-start-pre@%i.target | 
|  | 5 | Before=phosphor-regulators-config.service | 
|  | 6 | Conflicts=obmc-chassis-poweroff@%i.target | 
|  | 7 | ConditionPathExists=!/run/openbmc/chassis@%i-on | 
|  | 8 |  | 
|  | 9 | [Service] | 
|  | 10 | Restart=no | 
|  | 11 | Type=oneshot | 
|  | 12 | RemainAfterExit=yes | 
|  | 13 | ExecStart=/bin/sh -c \ | 
|  | 14 | "busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging \ | 
|  | 15 | xyz.openbmc_project.Logging.Create Create ssa{ss} \ | 
|  | 16 | xyz.openbmc_project.State.Info.ChassisPowerOnStarted \ | 
|  | 17 | xyz.openbmc_project.Logging.Entry.Level.Informational 1 CHASSIS_ID %i" | 
|  | 18 |  | 
|  | 19 | [Install] | 
|  | 20 | WantedBy=obmc-chassis-poweron@%i.target |