Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Network IPMI daemon |
Deepak Kodihalli | e153aeb | 2017-07-25 10:14:28 -0500 | [diff] [blame] | 3 | # TODO openbmc/openbmc#2059 - The wants/after below should be based on providers |
Deepak Kodihalli | 77e518a | 2017-09-11 00:31:41 -0500 | [diff] [blame] | 4 | Wants=mapper-wait@-xyz-openbmc_project-control-host0-boot.service |
| 5 | After=mapper-wait@-xyz-openbmc_project-control-host0-boot.service |
| 6 | Wants=mapper-wait@-xyz-openbmc_project-control-host0-boot-one_time.service |
| 7 | After=mapper-wait@-xyz-openbmc_project-control-host0-boot-one_time.service |
Deepak Kodihalli | e153aeb | 2017-07-25 10:14:28 -0500 | [diff] [blame] | 8 | Wants=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service |
| 9 | After=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service |
| 10 | Wants=mapper-wait@-xyz-openbmc_project-control-host0-restriction_mode.service |
| 11 | After=mapper-wait@-xyz-openbmc_project-control-host0-restriction_mode.service |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 12 | |
| 13 | [Service] |
Tom Joseph | c2cb297 | 2018-10-17 07:44:52 -0500 | [diff] [blame] | 14 | Environment=IPTABLESRULE=/var/lib/iptables_rules |
| 15 | ExecStartPre=/usr/bin/env ipmi-net-firewall.sh |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 16 | ExecStart=/usr/bin/env netipmid |
| 17 | SyslogIdentifier=netipmid |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 18 | Restart=always |
Richard Marian Thomaiyar | 8debf3a | 2018-09-18 14:42:05 +0530 | [diff] [blame] | 19 | RuntimeDirectory = ipmi |
| 20 | RuntimeDirectoryPreserve = yes |
| 21 | StateDirectory = ipmi |