mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
dhcpcd: change service as suggested by author (rsmarples@netbsd via Arch).
This commit is contained in:
parent
f7555502a3
commit
91bf99f63c
3 changed files with 9 additions and 4 deletions
|
@ -4,7 +4,10 @@ Wants=network.target
|
||||||
Before=network.target
|
Before=network.target
|
||||||
|
|
||||||
[Service]
|
[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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -6,8 +6,10 @@ BindsTo=sys-subsystem-net-devices-%i.device
|
||||||
After=sys-subsystem-net-devices-%i.device
|
After=sys-subsystem-net-devices-%i.device
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/dhcpcd -q -B %I
|
Type=forking
|
||||||
ExecStop=/usr/sbin/dhcpcd -k %I
|
PIDFile=/run/dhcpcd-%I.pid
|
||||||
|
ExecStart=/usr/sbin/dhcpcd -q -w %I
|
||||||
|
ExecStop=/usr/sbin/dhcpcd -x %I
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=multi-user.target.wants/dhcpcd@eth0.service
|
Alias=multi-user.target.wants/dhcpcd@eth0.service
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dhcpcd'
|
# Template file for 'dhcpcd'
|
||||||
pkgname=dhcpcd
|
pkgname=dhcpcd
|
||||||
version=5.6.3
|
version=5.6.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --libexecdir=/usr/lib
|
configure_args="--prefix=/usr --libexecdir=/usr/lib
|
||||||
--sysconfdir=/etc --rundir=/run"
|
--sysconfdir=/etc --rundir=/run"
|
||||||
|
|
Loading…
Add table
Reference in a new issue