1*86a1ebf9SAndrew Geissler[Unit]
2*86a1ebf9SAndrew GeisslerDescription=Start chassis%i on after BMC reset
3*86a1ebf9SAndrew GeisslerRequires=phosphor-reset-chassis-running@%i.service
4*86a1ebf9SAndrew GeisslerAfter=phosphor-reset-chassis-running@%i.service
5*86a1ebf9SAndrew GeisslerAfter=obmc-power-reset-on@%i.target
6*86a1ebf9SAndrew GeisslerRequires=obmc-power-reset-on@%i.target
7*86a1ebf9SAndrew GeisslerConditionPathExists=/run/openbmc/chassis@%i-on
8*86a1ebf9SAndrew Geissler
9*86a1ebf9SAndrew Geissler[Service]
10*86a1ebf9SAndrew GeisslerRemainAfterExit=no
11*86a1ebf9SAndrew GeisslerExecStart=/bin/systemctl start obmc-chassis-poweron@%i.target
12*86a1ebf9SAndrew Geissler
13*86a1ebf9SAndrew Geissler
14*86a1ebf9SAndrew Geissler[Install]
15*86a1ebf9SAndrew GeisslerWantedBy=obmc-chassis-powerreset@%i.target
16