dhcpcd: change service as suggested by author (rsmarples@netbsd via Arch).

This commit is contained in:
Juan RP 2012-11-23 15:05:16 +01:00
parent f7555502a3
commit 91bf99f63c
3 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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"