!79 update ntpd.service
From: @chengyechun Reviewed-by: @robertxw Signed-off-by: @robertxw
This commit is contained in:
commit
cc98bbb71d
8
ntp.spec
8
ntp.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: ntp
|
Name: ntp
|
||||||
Version: 4.2.8p17
|
Version: 4.2.8p17
|
||||||
Release: 1
|
Release: 2
|
||||||
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/
|
||||||
@ -207,6 +207,12 @@ make check
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 11 2023 chengyechun <chengyechun1@huawei.com> - 4.2.8p17-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add Restart in ntpd.service
|
||||||
|
|
||||||
* Fri Jul 21 2023 chengyechun <chengyechun1@huawei.com> - 4.2.8p17-1
|
* Fri Jul 21 2023 chengyechun <chengyechun1@huawei.com> - 4.2.8p17-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- 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