xref: /openbmc/phosphor-net-ipmid/phosphor-ipmi-net@.service (revision b601994f29c713f63325c4f366f0a0bb8d0c260b)
1d92bc324SVernon Mauery[Unit]
2d92bc324SVernon MaueryDescription=Network IPMI daemon
31733591dSAnthonyWants=phosphor-ipmi-host.service
4d92bc324SVernon MaueryAfter=phosphor-ipmi-host.service
534b0b9c8STom TungRequires=sys-subsystem-net-devices-%i.device
634b0b9c8STom TungAfter=sys-subsystem-net-devices-%i.device
7*b601994fSAndrew GeisslerConditionPathExists=/sys/class/net/%i
8d92bc324SVernon Mauery
9d92bc324SVernon Mauery[Service]
10d92bc324SVernon MaueryExecStart=/usr/bin/netipmid -c %i
11d92bc324SVernon MauerySyslogIdentifier=netipmid-%i
12d92bc324SVernon MaueryRestart=always
13d92bc324SVernon MaueryRuntimeDirectory = ipmi
14d92bc324SVernon MaueryRuntimeDirectoryPreserve = yes
15d92bc324SVernon MaueryStateDirectory = ipmi
16d92bc324SVernon Mauery
17d92bc324SVernon Mauery[Install]
18d92bc324SVernon MaueryDefaultInstance=eth0
19d92bc324SVernon MaueryWantedBy=multi-user.target
20d92bc324SVernon MaueryRequiredBy=
21