- Use correct executable path in service file (bsc#1076900)
OBS-URL: https://build.opensuse.org/package/show/network:time/ptpd?expand=0&rev=15
This commit is contained in:
parent
224f406550
commit
632cc365a4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 25 08:08:17 UTC 2018 - mpluskal@suse.com
|
||||
|
||||
- Use correct executable path in service file (bsc#1076900)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:47:12 UTC 2017 - rbrown@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ptpd
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,16 +18,15 @@
|
||||
|
||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||
%endif
|
||||
|
||||
Name: ptpd
|
||||
Version: 2.3.1
|
||||
Release: 0
|
||||
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
|
||||
License: BSD-3-Clause
|
||||
Group: System/Daemons
|
||||
Url: https://github.com/ptpd/ptpd
|
||||
URL: https://github.com/ptpd/ptpd
|
||||
Source0: https://github.com/ptpd/ptpd/archive/ptpd-%{version}.tar.gz
|
||||
Source1: ptpd2.service
|
||||
Source2: ptpd2.conf
|
||||
@ -42,7 +41,6 @@ BuildRequires: net-snmp-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
@ -97,7 +95,6 @@ touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||
%service_del_postun %{name}2.service
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc COPYRIGHT ChangeLog README
|
||||
%config %{_sysconfdir}/%{name}2.conf
|
||||
%{_sbindir}/ptpd2
|
||||
|
@ -4,7 +4,7 @@ Description=ptpd time precision daemon
|
||||
[Service]
|
||||
Type=forking
|
||||
EnvironmentFile=-/etc/sysconfig/ptpd2
|
||||
ExecStart=/usr/bin/ptpd2 -c $PTPD_CONFIG_FILE $PTPD_EXTRA_OPTIONS
|
||||
ExecStart=/usr/sbin/ptpd2 -c $PTPD_CONFIG_FILE $PTPD_EXTRA_OPTIONS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user