
override docker service so systemd: 1. to create/remove /var/run/dockerd.pid file at service start/stop. 2. not to restart automatically on exit or failure deploy docker.conf for pmond to monitor docker service Story: 2002843 Task: 29391 Change-Id: I3595d0d4f97d90e4119fc1455bcf164aebc5d6ec Signed-off-by: Bin Qian <bin.qian@windriver.com>
32 lines
657 B
RPMSpec
32 lines
657 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
|