metal/mtce/src/hwmon/scripts/hwmon.logrotate

22 lines
381 B
Plaintext

#
# Copyright (c) 2020-2021 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
/var/log/hwmond.log
/var/log/hwmond_event.log
/var/log/hwmond_api.log
{
create 0640 root root
start 1
size 50M
rotate 5
compress
notifempty
missingok
postrotate
systemctl reload syslog-ng > /dev/null 2>&1 || true
endscript
delaycompress
}