fix systemd service file (wrong pid reference) [release 4.3.1-3mamba;Mon Jan 19 2015]
This commit is contained in:
parent
5686855e52
commit
f99dbb1d5d
@ -2,7 +2,7 @@
|
||||
%define releasever %(echo %version | cut -d. -f1-3)
|
||||
Name: dhcp
|
||||
Version: 4.3.1
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: The ISC DHCP (Dynamic Host Configuration Protocol) client
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
@ -208,6 +208,9 @@ grep "^send host-name" %{_sysconfdir}/dhclient.conf >/dev/null || {
|
||||
%doc RELNOTES doc
|
||||
|
||||
%changelog
|
||||
* Mon Jan 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-3mamba
|
||||
- fix systemd service file (wrong pid reference)
|
||||
|
||||
* Tue Dec 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-2mamba
|
||||
- dhclient.conf: use gethostname() as default send hostname
|
||||
- server: remove initscript; add systemd service file
|
||||
|
@ -1,3 +1,2 @@
|
||||
# Command line options here
|
||||
#DHCPDIFS="eth0"
|
||||
DHCPDARGS=
|
||||
|
@ -6,8 +6,8 @@ After=network.target
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/sysconfig/dhcpd
|
||||
Type=forking
|
||||
PIDFile=/run/dhcpd.pid
|
||||
ExecStart=/sbin/dhcpd -q -pf /run/dhcpd4.pid %I $DHCPDARGS
|
||||
PIDFile=/run/dhcpd-%I.pid
|
||||
ExecStart=/sbin/dhcpd -q -pf /run/dhcpd-%I.pid %I $DHCPDARGS
|
||||
KillSignal=SIGINT
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user