- 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
fb1d47b302
commit
38a133ac1f
@ -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
|
Thu Nov 23 13:47:12 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ptpd
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,16 +18,15 @@
|
|||||||
|
|
||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
%if ! %{defined _fillupdir}
|
%if ! %{defined _fillupdir}
|
||||||
%define _fillupdir /var/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: ptpd
|
Name: ptpd
|
||||||
Version: 2.3.1
|
Version: 2.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
|
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Daemons
|
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
|
Source0: https://github.com/ptpd/ptpd/archive/ptpd-%{version}.tar.gz
|
||||||
Source1: ptpd2.service
|
Source1: ptpd2.service
|
||||||
Source2: ptpd2.conf
|
Source2: ptpd2.conf
|
||||||
@ -42,7 +41,6 @@ BuildRequires: net-snmp-devel
|
|||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -97,7 +95,6 @@ touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
|||||||
%service_del_postun %{name}2.service
|
%service_del_postun %{name}2.service
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc COPYRIGHT ChangeLog README
|
%doc COPYRIGHT ChangeLog README
|
||||||
%config %{_sysconfdir}/%{name}2.conf
|
%config %{_sysconfdir}/%{name}2.conf
|
||||||
%{_sbindir}/ptpd2
|
%{_sbindir}/ptpd2
|
||||||
|
10
ptpd2.service
Normal file
10
ptpd2.service
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=ptpd time precision daemon
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
EnvironmentFile=-/etc/sysconfig/ptpd2
|
||||||
|
ExecStart=/usr/sbin/ptpd2 -c $PTPD_CONFIG_FILE $PTPD_EXTRA_OPTIONS
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user