fix ntpd path in service files [release 4.2.8p15-2mamba;Sun Feb 28 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:43:41 +01:00
parent ad9fe05c3a
commit 881cc03c04
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: ntp-server Name: ntp-server
Version: 4.2.8p15 Version: 4.2.8p15
Release: 1mamba Release: 2mamba
Summary: Synchronizes system time using the Network Time Protocol (NTP) Summary: Synchronizes system time using the Network Time Protocol (NTP)
Group: System/Configuration Group: System/Configuration
Vendor: openmamba Vendor: openmamba
@ -52,9 +52,6 @@ BuildRequires: perl-IO-Socket-SSL
BuildRequires: perl-Net-SSLeay BuildRequires: perl-Net-SSLeay
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%if "%{stage1}" != "1"
BuildRequires: libnetsnmp-devel >= 5.9
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -165,6 +162,9 @@ install -D -m644 %{S:8} %{buildroot}%{_unitdir}/ntpdate.service
#%doc ChangeLog NEWS *.y2kfixes README* TODO WHERE-TO-START #%doc ChangeLog NEWS *.y2kfixes README* TODO WHERE-TO-START
%changelog %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 * Sun Dec 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.8p15-1mamba
- update to 4.2.8p15 - update to 4.2.8p15

View File

@ -6,7 +6,7 @@ Conflicts=systemd-timesyncd.service
[Service] [Service]
Type=forking Type=forking
PrivateTmp=true PrivateTmp=true
ExecStart=/usr/bin/ntpd -g -u ntp:ntp ExecStart=/usr/sbin/ntpd -g -u ntp:ntp
Restart=always Restart=always
[Install] [Install]

View File

@ -6,7 +6,7 @@ Before=ntpd.service
[Service] [Service]
Type=oneshot Type=oneshot
PrivateTmp=true PrivateTmp=true
ExecStart=/usr/bin/ntpd -q -n -g -u ntp:ntp ExecStart=/usr/sbin/ntpd -q -n -g -u ntp:ntp
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target