Andrew Geissler | 119e5a2 | 2022-03-25 08:54:53 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Check if flash side switch is needed |
| 3 | Wants=obmc-host-start-pre@0.target |
| 4 | Before=obmc-host-start-pre@0.target |
Andrew Geissler | 119e5a2 | 2022-03-25 08:54:53 -0500 | [diff] [blame] | 5 | Wants=xyz.openbmc_project.Software.BMC.Updater.service |
| 6 | After=xyz.openbmc_project.Software.BMC.Updater.service |
| 7 | Wants=xyz.openbmc_project.State.BMC.service |
| 8 | After=xyz.openbmc_project.State.BMC.service |
Andrew Geissler | 42089e3 | 2023-03-30 14:28:38 -0600 | [diff] [blame] | 9 | Wants=xyz.openbmc_project.State.Chassis@0.service |
| 10 | After=xyz.openbmc_project.State.Chassis@0.service |
Andrew Geissler | 119e5a2 | 2022-03-25 08:54:53 -0500 | [diff] [blame] | 11 | Wants=xyz.openbmc_project.Settings.service |
| 12 | After=xyz.openbmc_project.Settings.service |
| 13 | ConditionPathExists=!/run/openbmc/host@0-on |
| 14 | |
| 15 | [Service] |
| 16 | Restart=no |
| 17 | Type=oneshot |
| 18 | RemainAfterExit=no |
| 19 | ExecStart=/usr/bin/phosphor-bmc-side-switch |
| 20 | |
| 21 | [Install] |
Andrew Geissler | cce26eb | 2023-05-09 14:29:19 -0500 | [diff] [blame] | 22 | #WantedBy=obmc-host-startmin@0.target |