blob: d7555b793b3262b8ab80bf5583be90b61a3504d2 [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
12
13
14[Install]
15WantedBy=obmc-chassis-powerreset@%i.target