1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=Lightweight DHCP client daemon Wants=network.target Before=network.target network-online.target [Service] Type=forking ExecStart=/sbin/dhcpcd -q PIDFile=/run/dhcpcd.pid # Avoid duplicate output on stderr/syslog StandardOutput=null StandardError=null [Install] WantedBy=multi-user.target