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
14Requires=org.openbmc.HostIpmi.service
15After=org.openbmc.HostIpmi.service
16
17[Service]
18Restart=always
19ExecStart=/usr/bin/env ipmid
20SyslogIdentifier=ipmid
21RuntimeDirectory = ipmi
22RuntimeDirectoryPreserve = yes
23StateDirectory = ipmi
24Type=dbus
25BusName=xyz.openbmc_project.Control.Host
26
27[Install]
28WantedBy={SYSTEMD_DEFAULT_TARGET}
29