integ/config-files/docker-config/centos/docker-config.spec
Kristine Bujold 7b98e2679a Docker logs are not rotating
Add docker logs to logrotate.

Change-Id: Icd765ebdad1bad0ab53fdeafae6a447dde318c96
Closes-Bug: 1827322
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-05-08 13:55:42 -04:00

32 lines
700 B
RPMSpec

Summary: StarlingX Docker Configuration File
Name: docker-config
Version: 1.0
Release: %{tis_patch_ver}%{?_tis_dist}
License: Apache-2.0
Group: config-files
Packager: StarlingX
URL: unknown
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: docker-ce
%define debug_package %{nil}
%description
StarlingX docker configuration file
%prep
%setup
%install
make DATADIR=%{buildroot}%{_datadir} SYSCONFDIR=%{buildroot}%{_sysconfdir} install
%files
%defattr(-,root,root)
%license LICENSE
%dir %{_sysconfdir}/systemd/system/docker.service.d
%{_sysconfdir}/pmon.d/docker.conf
%{_sysconfdir}/systemd/system/docker.service.d/docker-stx-override.conf
%{_sysconfdir}/logrotate.d/docker.logrotate