From 881cc03c04616895428747ee5776ce80600f551d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:43:41 +0100 Subject: [PATCH] fix ntpd path in service files [release 4.2.8p15-2mamba;Sun Feb 28 2021] --- ntp-server.spec | 8 ++++---- ntpd.service | 2 +- ntpdate.service | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ntp-server.spec b/ntp-server.spec index cc9dbad..b10cbac 100644 --- a/ntp-server.spec +++ b/ntp-server.spec @@ -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 4.2.8p15-2mamba +- fix ntpd path in service files + * Sun Dec 13 2020 Silvan Calarco 4.2.8p15-1mamba - update to 4.2.8p15 diff --git a/ntpd.service b/ntpd.service index 267615c..706e662 100644 --- a/ntpd.service +++ b/ntpd.service @@ -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] diff --git a/ntpdate.service b/ntpdate.service index e85852e..9d8a7ba 100644 --- a/ntpdate.service +++ b/ntpdate.service @@ -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