add restart
(cherry picked from commit c0c546834b06d23d8d53e3a728d15c383458d8df)
This commit is contained in:
parent
99930e20c3
commit
3b7acc6f90
10
ntp.spec
10
ntp.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: ntp
|
Name: ntp
|
||||||
Version: 4.2.8p14
|
Version: 4.2.8p14
|
||||||
Release: 9
|
Release: 10
|
||||||
Summary: A protocol designed to synchronize the clocks of computers over a network
|
Summary: A protocol designed to synchronize the clocks of computers over a network
|
||||||
License: MIT and BSD and BSD with advertising
|
License: MIT and BSD and BSD with advertising
|
||||||
URL: https://www.ntp.org/
|
URL: https://www.ntp.org/
|
||||||
@ -21,7 +21,7 @@ Source14: ntp-wait.service
|
|||||||
Source15: sntp.service
|
Source15: sntp.service
|
||||||
Source16: sntp.sysconfig
|
Source16: sntp.sysconfig
|
||||||
Patch1: ntp-ssl-libs.patch
|
Patch1: ntp-ssl-libs.patch
|
||||||
Patch2: ntp-psl-def.patch
|
Patch2: ntp-psl-def.patch
|
||||||
Patch3: bugfix-fix-bind-port-in-debug-mode.patch
|
Patch3: bugfix-fix-bind-port-in-debug-mode.patch
|
||||||
Patch4: bugfix-fix-ifindex-length.patch
|
Patch4: bugfix-fix-ifindex-length.patch
|
||||||
Patch5: bugfix-MD5-manpage.patch
|
Patch5: bugfix-MD5-manpage.patch
|
||||||
@ -211,6 +211,12 @@ make check
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 18 2023 chengyechun <chengyechun1@huawei.com> - 4.2.8p14-10
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add restart to ntpd.service
|
||||||
|
|
||||||
* Wed Jun 21 2023 liubo <liubo335@huawei.com> - 4.2.8p14-9
|
* Wed Jun 21 2023 liubo <liubo335@huawei.com> - 4.2.8p14-9
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:
|
- ID:
|
||||||
|
|||||||
@ -8,6 +8,7 @@ Type=forking
|
|||||||
EnvironmentFile=-/etc/sysconfig/ntpd
|
EnvironmentFile=-/etc/sysconfig/ntpd
|
||||||
ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS
|
ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user