blob: f2a7103254d127c58a4c83943ec71dc7600b46e9 [file] [log] [blame]
Andrew Geissler579c8e02017-03-07 13:47:23 -06001[Unit]
2Description=Start chassis%i on after BMC reset
Josh D. Kingf7de6312017-05-18 09:33:36 -05003Requires=op-reset-chassis-running@%i.service
4After=op-reset-chassis-running@%i.service
Andrew Geissler579c8e02017-03-07 13:47:23 -06005After=obmc-power-reset-on@%i.target
6Requires=obmc-power-reset-on@%i.target
Josh D. Kingf7de6312017-05-18 09:33:36 -05007ConditionPathExists=/run/openbmc/chassis@%i-on
Andrew Geissler579c8e02017-03-07 13:47:23 -06008
9[Service]
10RemainAfterExit=no
Josh D. Kingb9ee5362017-04-06 14:43:46 -050011ExecStart=/bin/systemctl start obmc-chassis-poweron@%i.target
Andrew Geissler579c8e02017-03-07 13:47:23 -060012
13
14[Install]
Andrew Geisslerdd08ef02017-05-09 15:24:41 -050015WantedBy=obmc-chassis-powerreset@%i.target