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