fix ntpd path in service files [release 4.2.8p15-2mamba;Sun Feb 28 2021]
This commit is contained in:
parent
ad9fe05c3a
commit
881cc03c04
@ -1,7 +1,7 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: ntp-server
|
||||
Version: 4.2.8p15
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Synchronizes system time using the Network Time Protocol (NTP)
|
||||
Group: System/Configuration
|
||||
Vendor: openmamba
|
||||
@ -52,9 +52,6 @@ BuildRequires: perl-IO-Socket-SSL
|
||||
BuildRequires: perl-Net-SSLeay
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
%if "%{stage1}" != "1"
|
||||
BuildRequires: libnetsnmp-devel >= 5.9
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -165,6 +162,9 @@ install -D -m644 %{S:8} %{buildroot}%{_unitdir}/ntpdate.service
|
||||
#%doc ChangeLog NEWS *.y2kfixes README* TODO WHERE-TO-START
|
||||
|
||||
%changelog
|
||||
* Sun Feb 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.8p15-2mamba
|
||||
- fix ntpd path in service files
|
||||
|
||||
* Sun Dec 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.8p15-1mamba
|
||||
- update to 4.2.8p15
|
||||
|
||||
|
@ -6,7 +6,7 @@ Conflicts=systemd-timesyncd.service
|
||||
[Service]
|
||||
Type=forking
|
||||
PrivateTmp=true
|
||||
ExecStart=/usr/bin/ntpd -g -u ntp:ntp
|
||||
ExecStart=/usr/sbin/ntpd -g -u ntp:ntp
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
@ -6,7 +6,7 @@ Before=ntpd.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
PrivateTmp=true
|
||||
ExecStart=/usr/bin/ntpd -q -n -g -u ntp:ntp
|
||||
ExecStart=/usr/sbin/ntpd -q -n -g -u ntp:ntp
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user