Kuiying Wang | c8153bc | 2018-11-09 16:34:33 +0800 | [diff] [blame] | 1 | [Unit] |
2 | Description=Start chassis%i on after BMC reset | ||||
3 | Requires=op-reset-chassis-running@%i.service | ||||
4 | After=op-reset-chassis-running@%i.service | ||||
5 | After=obmc-power-reset-on@%i.target | ||||
6 | Requires=obmc-power-reset-on@%i.target | ||||
7 | ConditionPathExists=/run/openbmc/chassis@%i-on | ||||
8 | |||||
9 | [Service] | ||||
10 | RemainAfterExit=no | ||||
11 | ExecStart=/bin/systemctl start obmc-host-start@%i.target | ||||
12 | |||||
13 | |||||
14 | [Install] | ||||
15 | WantedBy=obmc-chassis-powerreset@%i.target |