blob: 7e1c8ddf9e41259ec197b5a81114e862186e2192 [file] [log] [blame]
Andrew Geissler119e5a22022-03-25 08:54:53 -05001[Unit]
2Description=Check if flash side switch is needed
3Wants=obmc-host-start-pre@0.target
4Before=obmc-host-start-pre@0.target
Andrew Geissler119e5a22022-03-25 08:54:53 -05005After=xyz.openbmc_project.Software.BMC.Updater.service
Adriana Kobylak61c1a8a2024-12-05 11:42:48 -06006After=xyz.openbmc_project.Software.Manager.service
Andrew Geissler119e5a22022-03-25 08:54:53 -05007Wants=xyz.openbmc_project.State.BMC.service
8After=xyz.openbmc_project.State.BMC.service
Andrew Geissler42089e32023-03-30 14:28:38 -06009Wants=xyz.openbmc_project.State.Chassis@0.service
10After=xyz.openbmc_project.State.Chassis@0.service
Andrew Geissler119e5a22022-03-25 08:54:53 -050011Wants=xyz.openbmc_project.Settings.service
12After=xyz.openbmc_project.Settings.service
13ConditionPathExists=!/run/openbmc/host@0-on
14
15[Service]
16Restart=no
17Type=oneshot
18RemainAfterExit=no
19ExecStart=/usr/bin/phosphor-bmc-side-switch
20
21[Install]
Andrew Geisslercce26eb2023-05-09 14:29:19 -050022#WantedBy=obmc-host-startmin@0.target