blob: 62687d68c89ffb2240be42b145f4d341bdd90091 [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
Andrew Jeffery01f149c2018-11-25 23:20:44 -060014Requires=org.openbmc.HostIpmi.service
15After=org.openbmc.HostIpmi.service
vishwabmc2ac6f932015-10-09 15:51:50 +053016
17[Service]
Nan Lid0921602016-01-27 10:28:34 +080018Restart=always
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050019ExecStart=/usr/bin/env ipmid
20SyslogIdentifier=ipmid
Richard Marian Thomaiyarad032d72018-09-18 14:42:05 +053021RuntimeDirectory = ipmi
22RuntimeDirectoryPreserve = yes
23StateDirectory = ipmi
Andrew Geissler2fdc70c2019-01-18 11:00:48 -060024Type=dbus
25BusName=xyz.openbmc_project.Control.Host
vishwabmc2ac6f932015-10-09 15:51:50 +053026
27[Install]
Brad Bishopfc81e382019-04-06 13:58:07 -040028WantedBy=multi-user.target
Andrew Jefferyd95f1392019-04-08 16:47:27 +093029Alias=xyz.openbmc_project.Control.Host.service