dhcp/dhclient@.service

15 lines
278 B
SYSTEMD
Raw Normal View History

[Unit]
Description=dhclient on %I
Wants=network.target
Before=network.target
[Service]
ExecStart=/usr/sbin/dhclient -pf /run/dhclient@%i/dhclient.pid -d %I
RuntimeDirectory=dhclient@%i
User=isc-dhcp-client
ProtectSystem=on
ProtectHome=on
[Install]
WantedBy=multi-user.target