blob: beb3785e2eaff0becde79b21db0cc06c7bf97888 [file] [log] [blame]
Vernon Maueryd92bc322019-03-15 15:24:30 -07001[Unit]
2Description=Network IPMI daemon
Vernon Maueryd92bc322019-03-15 15:24:30 -07003After=phosphor-ipmi-host.service
Tom Tung34b0b9c2022-03-28 16:56:32 +08004Requires=sys-subsystem-net-devices-%i.device
5After=sys-subsystem-net-devices-%i.device
Andrew Geisslerb6019942023-04-05 11:13:34 -06006ConditionPathExists=/sys/class/net/%i
Vernon Maueryd92bc322019-03-15 15:24:30 -07007
8[Service]
9ExecStart=/usr/bin/netipmid -c %i
10SyslogIdentifier=netipmid-%i
11Restart=always
12RuntimeDirectory = ipmi
13RuntimeDirectoryPreserve = yes
14StateDirectory = ipmi
15
16[Install]
17DefaultInstance=eth0
18WantedBy=multi-user.target
19RequiredBy=