aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/apache/templates/logrotate4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate
index dec386fe..d440193f 100644
--- a/modules/apache/templates/logrotate
+++ b/modules/apache/templates/logrotate
@@ -1,6 +1,10 @@
/var/log/httpd/*_log /var/log/httpd/apache_runtime_status /var/log/httpd/ssl_mutex {
rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %>
+<% if @hostname == 'duvel' then %>
+ daily
+<% else %>
monthly
+<% end %>
missingok
notifempty
compress