Skip to content

Instantly share code, notes, and snippets.

@msnoigrs
Created September 12, 2014 11:32
Show Gist options
  • Save msnoigrs/061afc91b5234e6ff09e to your computer and use it in GitHub Desktop.
Save msnoigrs/061afc91b5234e6ff09e to your computer and use it in GitHub Desktop.
[Unit]
Description=Lightweight DHCP client daemon on %I
Wants=network.target
Before=network.target
After=systemd-networkd.service
[Service]
PIDFile=/run/dhcpcd-%I.pid
ExecStart=/sbin/dhcpcd -A -q -t 0 %I
ExecStop=/sbin/dhcpcd -k %I
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment