blob: ed60d7eba03921049b56c35647a1750c75d37a7a [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 -05005Wants=xyz.openbmc_project.Software.BMC.Updater.service
6After=xyz.openbmc_project.Software.BMC.Updater.service
7Wants=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