dhcpcd: change service as suggested by author (rsmarples@netbsd via Arch).
This commit is contained in:
parent
f7555502a3
commit
91bf99f63c
|
@ -4,7 +4,10 @@ Wants=network.target
|
|||
Before=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/dhcpcd -q -B
|
||||
Type=forking
|
||||
PIDFile=/run/dhcpcd.pid
|
||||
ExecStart=/usr/sbin/dhcpcd -q -b
|
||||
ExecStop=/usr/sbin/dhcpcd -x
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -6,8 +6,10 @@ BindsTo=sys-subsystem-net-devices-%i.device
|
|||
After=sys-subsystem-net-devices-%i.device
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/dhcpcd -q -B %I
|
||||
ExecStop=/usr/sbin/dhcpcd -k %I
|
||||
Type=forking
|
||||
PIDFile=/run/dhcpcd-%I.pid
|
||||
ExecStart=/usr/sbin/dhcpcd -q -w %I
|
||||
ExecStop=/usr/sbin/dhcpcd -x %I
|
||||
|
||||
[Install]
|
||||
Alias=multi-user.target.wants/dhcpcd@eth0.service
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dhcpcd'
|
||||
pkgname=dhcpcd
|
||||
version=5.6.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --libexecdir=/usr/lib
|
||||
--sysconfdir=/etc --rundir=/run"
|
||||
|
|
Loading…
Reference in New Issue