Vernon Mauery | d92bc32 | 2019-03-15 15:24:30 -0700 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Network IPMI daemon |
Anthony | 1733591 | 2023-03-08 17:59:56 +0800 | [diff] [blame] | 3 | Wants=phosphor-ipmi-host.service |
Vernon Mauery | d92bc32 | 2019-03-15 15:24:30 -0700 | [diff] [blame] | 4 | After=phosphor-ipmi-host.service |
Tom Tung | 34b0b9c | 2022-03-28 16:56:32 +0800 | [diff] [blame] | 5 | Requires=sys-subsystem-net-devices-%i.device |
| 6 | After=sys-subsystem-net-devices-%i.device |
Andrew Geissler | b601994 | 2023-04-05 11:13:34 -0600 | [diff] [blame] | 7 | ConditionPathExists=/sys/class/net/%i |
Vernon Mauery | d92bc32 | 2019-03-15 15:24:30 -0700 | [diff] [blame] | 8 | |
| 9 | [Service] |
| 10 | ExecStart=/usr/bin/netipmid -c %i |
| 11 | SyslogIdentifier=netipmid-%i |
| 12 | Restart=always |
| 13 | RuntimeDirectory = ipmi |
| 14 | RuntimeDirectoryPreserve = yes |
| 15 | StateDirectory = ipmi |
| 16 | |
| 17 | [Install] |
| 18 | DefaultInstance=eth0 |
| 19 | WantedBy=multi-user.target |
| 20 | RequiredBy= |