integ/config-files/docker-config/files/Makefile
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

13 lines
516 B
Makefile

#
# Copyright (c) 2019 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
install:
install -d -m 0755 $(SYSCONFDIR)/pmon.d
install -D -m 644 docker-pmond.conf $(SYSCONFDIR)/pmon.d/docker.conf
install -d -m 0755 $(SYSCONFDIR)/systemd/system/docker.service.d
install -D -m 644 docker-stx-override.conf $(SYSCONFDIR)/systemd/system/docker.service.d/docker-stx-override.conf
install -d -m 0755 $(SYSCONFDIR)/logrotate.d
install -D -m 644 docker.logrotate $(SYSCONFDIR)/logrotate.d/docker.logrotate