xref: /openbmc/phosphor-state-manager/service_files/xyz.openbmc_project.State.Chassis@.service (revision 70f36d8efab3e57f941f1e4eddbffdda84879f0f)
1*70f36d8eSPotin Lai[Unit]
2*70f36d8eSPotin LaiDescription=Phosphor Chassis%i State Manager
3*70f36d8eSPotin LaiBefore=mapper-wait@-xyz-openbmc_project-state-chassis%i.service
4*70f36d8eSPotin LaiWants=obmc-mapper.target
5*70f36d8eSPotin LaiAfter=obmc-mapper.target
6*70f36d8eSPotin LaiAfter=org.openbmc.control.Power@%i.service
7*70f36d8eSPotin LaiWants=xyz.openbmc_project.Logging.service
8*70f36d8eSPotin LaiAfter=xyz.openbmc_project.Logging.service
9*70f36d8eSPotin Lai
10*70f36d8eSPotin Lai[Service]
11*70f36d8eSPotin LaiExecStart=/usr/bin/phosphor-chassis-state-manager --chassis %i
12*70f36d8eSPotin LaiRestart=always
13*70f36d8eSPotin LaiType=dbus
14*70f36d8eSPotin LaiBusName=xyz.openbmc_project.State.Chassis%i
15*70f36d8eSPotin Lai
16*70f36d8eSPotin Lai[Install]
17*70f36d8eSPotin LaiWantedBy=multi-user.target
18