blob: ab898313a480946d10381d9b7d6ac41ad2d90fcd [file] [log] [blame]
vishwabmc1bf499d2015-10-09 15:51:50 +05301[Unit]
Brad Bishopf51b3a02016-08-25 22:41:39 -04002Description=Phosphor Inband IPMI
Deepak Kodihallie153aeb2017-07-25 10:14:28 -05003# TODO openbmc/openbmc#2059 - The wants/after below should be based on providers
Deepak Kodihalli77e518a2017-09-11 00:31:41 -05004Wants=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
Deepak Kodihallie153aeb2017-07-25 10:14:28 -05008Wants=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
Milton D. Miller II611e3ff2016-03-04 15:29:29 -060012Wants=clear-once.service
13After=clear-once.service
Andrew Jefferye6610532018-11-25 23:20:44 -060014After=org.openbmc.HostIpmi.service
vishwabmc1bf499d2015-10-09 15:51:50 +053015
16[Service]
Nan Li2d343522016-01-27 10:28:34 +080017Restart=always
Michael Tritzfbd81be2017-08-15 14:07:23 -050018ExecStart=/usr/bin/env ipmid
19SyslogIdentifier=ipmid
Richard Marian Thomaiyar8debf3a2018-09-18 14:42:05 +053020RuntimeDirectory = ipmi
21RuntimeDirectoryPreserve = yes
22StateDirectory = ipmi
Andrew Geisslerbea22142019-01-18 11:00:48 -060023Type=dbus
24BusName=xyz.openbmc_project.Control.Host
vishwabmc1bf499d2015-10-09 15:51:50 +053025
26[Install]
Patrick Ventured607cfb2019-04-04 12:15:22 -070027WantedBy=multi-user.target
Andrew Jefferybeb31812019-04-08 16:47:27 +093028Alias=xyz.openbmc_project.Control.Host.service