blob: ef24bd0160e6eb6f58ef1e016824d9f6541658b4 [file] [log] [blame]
vishwabmc2ac6f932015-10-09 15:51:50 +05301[Unit]
Brad Bishop8f6c2ca2016-08-25 22:41:39 -04002Description=Phosphor Inband IPMI
Deepak Kodihalliba986b82017-07-25 10:14:28 -05003# TODO openbmc/openbmc#2059 - The wants/after below should be based on providers
Deepak Kodihallida0275c2017-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 Kodihalliba986b82017-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 IIb8c51742016-03-04 15:29:29 -060012Wants=clear-once.service
13After=clear-once.service
vishwabmc2ac6f932015-10-09 15:51:50 +053014
15[Service]
Nan Lid0921602016-01-27 10:28:34 +080016Restart=always
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050017ExecStart=/usr/bin/env ipmid
18SyslogIdentifier=ipmid
Richard Marian Thomaiyarad032d72018-09-18 14:42:05 +053019RuntimeDirectory = ipmi
20RuntimeDirectoryPreserve = yes
21StateDirectory = ipmi
vishwabmc2ac6f932015-10-09 15:51:50 +053022
23[Install]
Brad Bishopfd1a57c2016-08-25 22:36:30 -040024WantedBy={SYSTEMD_DEFAULT_TARGET}