From a24142481d721d8f177cf589efa5cbb351f7191c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 28 Jun 2018 17:02:05 +0200 Subject: [PATCH] Logrotating for httpd of customer mbvd-cdb --- customer/mbvd-cdb/common.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/customer/mbvd-cdb/common.yaml b/customer/mbvd-cdb/common.yaml index d36bdd3e..8b582a29 100644 --- a/customer/mbvd-cdb/common.yaml +++ b/customer/mbvd-cdb/common.yaml @@ -63,6 +63,17 @@ infra::profile::logrotate::rules: delaycompress: true ifempty: false copytruncate: true + httpd: + path: + - '/var/log/httpd/*log' + rotate_every: 'day' + missingok: true + ifempty: false + sharedscripts: true + delaycompress: true + minsize: '4M' + postrotate: '/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true' + ##################################################### # Options for /etc/resolv.conf -- 2.39.5