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