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
14
15[Service]
16Restart=always
17ExecStart=/usr/bin/env ipmid
18SyslogIdentifier=ipmid
19RuntimeDirectory = ipmi
20RuntimeDirectoryPreserve = yes
21StateDirectory = ipmi
22
23[Install]
24WantedBy={SYSTEMD_DEFAULT_TARGET}
25