]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Logrotating for httpd of customer mbvd-cdb
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 28 Jun 2018 15:02:05 +0000 (17:02 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 28 Jun 2018 15:02:05 +0000 (17:02 +0200)
customer/mbvd-cdb/common.yaml

index d36bdd3e2af7d70fd93c9079c52780126d50d1c7..8b582a29677a63b4d5231bf1056baaf61daa1490 100644 (file)
@@ -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