1[Unit]
2Description=Phosphor Inband IPMI
3# TODO openbmc/openbmc#2059 - The wants/after below should be based on providers
4Wants=mapper-wait@-xyz-openbmc_project-control-host0-boot.service
5After=mapper-wait@-xyz-openbmc_project-control-host0-boot.service
6Wants=mapper-wait@-xyz-openbmc_project-control-host0-boot-one_time.service
7After=mapper-wait@-xyz-openbmc_project-control-host0-boot-one_time.service
8Wants=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service
9After=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service
10Wants=mapper-wait@-xyz-openbmc_project-control-host0-restriction_mode.service
11After=mapper-wait@-xyz-openbmc_project-control-host0-restriction_mode.service
12Wants=clear-once.service
13After=clear-once.service
14After=org.openbmc.HostIpmi.service
15
16[Service]
17Restart=always
18ExecStart=/usr/bin/env ipmid
19SyslogIdentifier=ipmid
20RuntimeDirectory = ipmi
21RuntimeDirectoryPreserve = yes
22StateDirectory = ipmi
23Type=dbus
24BusName=xyz.openbmc_project.Control.Host
25
26[Install]
27WantedBy=multi-user.target
28Alias=xyz.openbmc_project.Control.Host.service
29