Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame^] | 1 | [Unit] |
2 | Description=dhcpcd on %I | ||||
3 | Wants=network.target | ||||
4 | Before=network.target | ||||
5 | BindsTo=sys-subsystem-net-devices-%i.device | ||||
6 | After=sys-subsystem-net-devices-%i.device | ||||
7 | |||||
8 | [Service] | ||||
9 | Type=forking | ||||
10 | PIDFile=/run/dhcpcd-%I.pid | ||||
11 | ExecStart=/usr/sbin/dhcpcd -q %I | ||||
12 | ExecStop=/usr/sbin/dhcpcd -x %I | ||||
13 | |||||
14 | [Install] | ||||
15 | WantedBy=multi-user.target |