Matheus Machado Guilhermino c1ec1ba951 Migrate docker-config to Debian
Modified docker-config to add support for Debian packaging.

Story: 2009256
Task: 43822

Test Plan:

PASS: Package installed and ISO built successfully

Signed-off-by: Joao Paulo Tavares Musico <joaopaulotavares.musico@windriver.com>
Change-Id: I974e084c5f36865269c8040495a4e3750875a04c
2021-11-24 10:55:44 -03:00

43 lines
1.1 KiB
Plaintext

#
# Copyright (c) 2019 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
#
# copytruncate: Truncate the original log file in place after creating a copy,
# instead of moving the old log file and optionally creating a new one. It is
# used when some program can not be told to close its logfile and thus might
# continue writing (appending) to the previous log file forever. This prevents
# having to possibly reset the file handle of the log file.
/var/lib/docker/containers/*/*-json.log
{
nodateext
size 50M
start 1
rotate 20
missingok
notifempty
compress
delaycompress
copytruncate
}
/var/lib/docker/overlay2/*/diff/var/log/apt/history.log
/var/lib/docker/overlay2/*/diff/var/log/bootstrap.log
/var/lib/docker/overlay2/*/diff/var/log/apt/term.log
/var/lib/docker/overlay2/*/diff/var/log/dpkg.log
/var/lib/docker/overlay2/*/diff/var/log/alternatives.log
{
nodateext
size 10M
start 1
rotate 20
missingok
notifempty
compress
delaycompress
copytruncate
}