1[Unit]
2Description=Create info log indicating chassis%i poweron has started
3Wants=obmc-power-start-pre@%i.target
4Before=obmc-power-start-pre@%i.target
5Before=phosphor-regulators-config.service
6Conflicts=obmc-chassis-poweroff@%i.target
7ConditionPathExists=!/run/openbmc/chassis@%i-on
8
9[Service]
10Restart=no
11Type=oneshot
12RemainAfterExit=yes
13ExecStart=/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]
20WantedBy=obmc-chassis-poweron@%i.target
21