1[Unit] 2Description=Check if flash side switch is needed 3Wants=obmc-host-start-pre@0.target 4Before=obmc-host-start-pre@0.target 5Wants=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 9Wants=xyz.openbmc_project.State.Chassis@0.service 10After=xyz.openbmc_project.State.Chassis@0.service 11Wants=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] 22WantedBy=obmc-host-startmin@0.target 23