blob: ef24bd0160e6eb6f58ef1e016824d9f6541658b4 [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
vishwabmc1bf499d2015-10-09 15:51:50 +053014
15[Service]
Nan Li2d343522016-01-27 10:28:34 +080016Restart=always
Michael Tritzfbd81be2017-08-15 14:07:23 -050017ExecStart=/usr/bin/env ipmid
18SyslogIdentifier=ipmid
Richard Marian Thomaiyar8debf3a2018-09-18 14:42:05 +053019RuntimeDirectory = ipmi
20RuntimeDirectoryPreserve = yes
21StateDirectory = ipmi
vishwabmc1bf499d2015-10-09 15:51:50 +053022
23[Install]
Brad Bishopc2e93ce2016-08-25 22:36:30 -040024WantedBy={SYSTEMD_DEFAULT_TARGET}