!83 [sync] PR-81: dhcpd服务增加resetart功能
From: @openeuler-sync-bot Reviewed-by: @zengwefeng Signed-off-by: @zengwefeng
This commit is contained in:
commit
3020bcf219
10
dhcp.spec
10
dhcp.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: dhcp
|
Name: dhcp
|
||||||
Version: 4.4.3
|
Version: 4.4.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Dynamic host configuration protocol software
|
Summary: Dynamic host configuration protocol software
|
||||||
#Please don't change the epoch on this package
|
#Please don't change the epoch on this package
|
||||||
Epoch: 12
|
Epoch: 12
|
||||||
@ -306,9 +306,15 @@ exit 0
|
|||||||
%{_mandir}/man3/omapi.3.gz
|
%{_mandir}/man3/omapi.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 27 2023 renmingshuai <renmingshuai@huawei.com> - 12:4.4.3-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:restart
|
||||||
|
- DESC:add Restart in dhcpd.service
|
||||||
|
|
||||||
* Tue Nov 1 2022 renmingshuai <renmingshuai@huawei.com> - 12:4.4.3-1
|
* Tue Nov 1 2022 renmingshuai <renmingshuai@huawei.com> - 12:4.4.3-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- ID:
|
- ID:NA
|
||||||
- SUG:restart
|
- SUG:restart
|
||||||
- DESC:update to 4.4.3
|
- DESC:update to 4.4.3
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@ Type=notify
|
|||||||
EnvironmentFile=-/etc/sysconfig/dhcpd
|
EnvironmentFile=-/etc/sysconfig/dhcpd
|
||||||
ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid $DHCPDARGS
|
ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid $DHCPDARGS
|
||||||
StandardError=null
|
StandardError=null
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user