blob: 6b836b604805091a29e631e3258a9bb34d6e3010 [file] [log] [blame]
Tom Josephfddc4052017-01-16 16:43:05 +05301[Unit]
2Description=Network IPMI daemon
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
Tom Josephfddc4052017-01-16 16:43:05 +053012
13[Service]
Tom Josephc2cb2972018-10-17 07:44:52 -050014Environment=IPTABLESRULE=/var/lib/iptables_rules
15ExecStartPre=/usr/bin/env ipmi-net-firewall.sh
Michael Tritzfbd81be2017-08-15 14:07:23 -050016ExecStart=/usr/bin/env netipmid
17SyslogIdentifier=netipmid
Tom Josephfddc4052017-01-16 16:43:05 +053018Restart=always
Richard Marian Thomaiyar8debf3a2018-09-18 14:42:05 +053019RuntimeDirectory = ipmi
20RuntimeDirectoryPreserve = yes
21StateDirectory = ipmi