blob: a5a1fbe990d0276a01e0cfe7f9698251794c01b1 [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
5Wants=obmc-mapper.target
6After=obmc-mapper.target
7Wants=xyz.openbmc_project.Software.BMC.Updater.service
8After=xyz.openbmc_project.Software.BMC.Updater.service
9Wants=xyz.openbmc_project.State.BMC.service
10After=xyz.openbmc_project.State.BMC.service
11Wants=xyz.openbmc_project.State.Chassis.service
12After=xyz.openbmc_project.State.Chassis.service
13Wants=xyz.openbmc_project.Settings.service
14After=xyz.openbmc_project.Settings.service
15ConditionPathExists=!/run/openbmc/host@0-on
16
17[Service]
18Restart=no
19Type=oneshot
20RemainAfterExit=no
21ExecStart=/usr/bin/phosphor-bmc-side-switch
22
23[Install]
24WantedBy=obmc-host-startmin@0.target