fix systemd service file (wrong pid reference) [release 4.3.1-3mamba;Mon Jan 19 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 21:45:41 +01:00
parent 5686855e52
commit f99dbb1d5d
3 changed files with 6 additions and 4 deletions

View File

@ -2,7 +2,7 @@
%define releasever %(echo %version | cut -d. -f1-3) %define releasever %(echo %version | cut -d. -f1-3)
Name: dhcp Name: dhcp
Version: 4.3.1 Version: 4.3.1
Release: 2mamba Release: 3mamba
Summary: The ISC DHCP (Dynamic Host Configuration Protocol) client Summary: The ISC DHCP (Dynamic Host Configuration Protocol) client
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -208,6 +208,9 @@ grep "^send host-name" %{_sysconfdir}/dhclient.conf >/dev/null || {
%doc RELNOTES doc %doc RELNOTES doc
%changelog %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 * Tue Dec 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-2mamba
- dhclient.conf: use gethostname() as default send hostname - dhclient.conf: use gethostname() as default send hostname
- server: remove initscript; add systemd service file - server: remove initscript; add systemd service file

View File

@ -1,3 +1,2 @@
# Command line options here # Command line options here
#DHCPDIFS="eth0"
DHCPDARGS= DHCPDARGS=

View File

@ -6,8 +6,8 @@ After=network.target
[Service] [Service]
EnvironmentFile=-/etc/sysconfig/dhcpd EnvironmentFile=-/etc/sysconfig/dhcpd
Type=forking Type=forking
PIDFile=/run/dhcpd.pid PIDFile=/run/dhcpd-%I.pid
ExecStart=/sbin/dhcpd -q -pf /run/dhcpd4.pid %I $DHCPDARGS ExecStart=/sbin/dhcpd -q -pf /run/dhcpd-%I.pid %I $DHCPDARGS
KillSignal=SIGINT KillSignal=SIGINT
[Install] [Install]