From: Frank Brehm Date: Thu, 28 Jun 2018 15:02:05 +0000 (+0200) Subject: Logrotating for httpd of customer mbvd-cdb X-Git-Tag: v0.1.0~685 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=a24142481d721d8f177cf589efa5cbb351f7191c;p=pixelpark%2Fhiera.git Logrotating for httpd of customer mbvd-cdb --- 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