xref: /openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/phosphor-bmc-side-switch.service (revision cab87e9cdeeb3e166d6d577511f6be4dc7721aca)
1*cab87e9cSJagpal Singh Gill[Unit]
2*cab87e9cSJagpal Singh GillDescription=Check if flash side switch is needed
3*cab87e9cSJagpal Singh GillWants=obmc-host-start-pre@0.target
4*cab87e9cSJagpal Singh GillBefore=obmc-host-start-pre@0.target
5*cab87e9cSJagpal Singh GillAfter=xyz.openbmc_project.Software.BMC.Updater.service
6*cab87e9cSJagpal Singh GillAfter=xyz.openbmc_project.Software.Manager.service
7*cab87e9cSJagpal Singh GillWants=xyz.openbmc_project.State.BMC.service
8*cab87e9cSJagpal Singh GillAfter=xyz.openbmc_project.State.BMC.service
9*cab87e9cSJagpal Singh GillWants=xyz.openbmc_project.State.Chassis@0.service
10*cab87e9cSJagpal Singh GillAfter=xyz.openbmc_project.State.Chassis@0.service
11*cab87e9cSJagpal Singh GillWants=xyz.openbmc_project.Settings.service
12*cab87e9cSJagpal Singh GillAfter=xyz.openbmc_project.Settings.service
13*cab87e9cSJagpal Singh GillConditionPathExists=!/run/openbmc/host@0-on
14*cab87e9cSJagpal Singh Gill
15*cab87e9cSJagpal Singh Gill[Service]
16*cab87e9cSJagpal Singh GillRestart=no
17*cab87e9cSJagpal Singh GillType=oneshot
18*cab87e9cSJagpal Singh GillRemainAfterExit=no
19*cab87e9cSJagpal Singh GillExecStart=/usr/bin/phosphor-bmc-side-switch
20*cab87e9cSJagpal Singh Gill
21*cab87e9cSJagpal Singh Gill[Install]
22*cab87e9cSJagpal Singh Gill#WantedBy=obmc-host-startmin@0.target
23