blob: f403fa9aa10658622c5f7f156de43e3d57fd171f [file] [log] [blame]
Andrew Geissler86a1ebf2022-11-10 15:58:30 -06001[Unit]
2Description=Start chassis%i on after BMC reset
3Requires=phosphor-reset-chassis-running@%i.service
4After=phosphor-reset-chassis-running@%i.service
5After=obmc-power-reset-on@%i.target
6Requires=obmc-power-reset-on@%i.target
7ConditionPathExists=/run/openbmc/chassis@%i-on
8
9[Service]
10RemainAfterExit=no
11ExecStart=/bin/systemctl start obmc-chassis-poweron@%i.target
Andrew Geissler69a250d2022-11-10 16:23:04 -060012SyslogIdentifier=phosphor-reset-chassis-on
Andrew Geissler86a1ebf2022-11-10 15:58:30 -060013
14[Install]
15WantedBy=obmc-chassis-powerreset@%i.target