Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Start host%i running after BMC reset |
| 3 | After=obmc-host-reset-running@%i.target |
| 4 | Requires=obmc-host-reset-running@%i.target |
| 5 | ConditionPathExists=/run/openbmc/host@%i-on |
| 6 | |
| 7 | [Service] |
| 8 | RemainAfterExit=no |
| 9 | # TODO: openbmc/openbmc#1205 - target name refactor |
Josh D. King | a283e07 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 10 | ExecStart=/bin/systemctl start obmc-host-start@%i.target |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 11 | |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=obmc-host-reset@%i.target |