dhcpcd/dhcpcd@.service
Petr Menšík 7ef4cc1b1a Enable again binding to device
It seems binding to device would work on normal machines. It seems only
systemd-nspawn has problem with that. Fix it by commenting out BintsTo=
line on containers now (reported on rhbz#1941458).
2021-03-22 08:56:02 +01:00

16 lines
315 B
Desktop File

[Unit]
Description=dhcpcd on %I
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=forking
PIDFile=/run/dhcpcd/%I.pid
ExecStart=/usr/sbin/dhcpcd -q %I
ExecStop=/usr/sbin/dhcpcd -x %I
[Install]
WantedBy=multi-user.target