1*afe12d69SAndrew Geissler[Unit]
2*afe12d69SAndrew GeisslerDescription=Create info log indicating chassis%i poweron has started
3*afe12d69SAndrew GeisslerWants=obmc-power-start-pre@%i.target
4*afe12d69SAndrew GeisslerBefore=obmc-power-start-pre@%i.target
5*afe12d69SAndrew GeisslerBefore=phosphor-regulators-config.service
6*afe12d69SAndrew GeisslerConflicts=obmc-chassis-poweroff@%i.target
7*afe12d69SAndrew GeisslerConditionPathExists=!/run/openbmc/chassis@%i-on
8*afe12d69SAndrew Geissler
9*afe12d69SAndrew Geissler[Service]
10*afe12d69SAndrew GeisslerRestart=no
11*afe12d69SAndrew GeisslerType=oneshot
12*afe12d69SAndrew GeisslerRemainAfterExit=yes
13*afe12d69SAndrew GeisslerExecStart=/bin/sh -c \
14*afe12d69SAndrew Geissler  "busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging \
15*afe12d69SAndrew Geissler   xyz.openbmc_project.Logging.Create Create ssa{ss} \
16*afe12d69SAndrew Geissler   xyz.openbmc_project.State.Info.ChassisPowerOnStarted \
17*afe12d69SAndrew Geissler   xyz.openbmc_project.Logging.Entry.Level.Informational 1 CHASSIS_ID %i"
18*afe12d69SAndrew Geissler
19*afe12d69SAndrew Geissler[Install]
20*afe12d69SAndrew GeisslerWantedBy=obmc-chassis-poweron@%i.target
21