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