Vernon Mauery | d92bc32 | 2019-03-15 15:24:30 -0700 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Network IPMI daemon |
| 3 | Requires=phosphor-ipmi-host.service |
| 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 |
Vernon Mauery | d92bc32 | 2019-03-15 15:24:30 -0700 | [diff] [blame] | 7 | |
| 8 | [Service] |
| 9 | ExecStart=/usr/bin/netipmid -c %i |
| 10 | SyslogIdentifier=netipmid-%i |
| 11 | Restart=always |
| 12 | RuntimeDirectory = ipmi |
| 13 | RuntimeDirectoryPreserve = yes |
| 14 | StateDirectory = ipmi |
| 15 | |
| 16 | [Install] |
| 17 | DefaultInstance=eth0 |
| 18 | WantedBy=multi-user.target |
| 19 | RequiredBy= |