From 8b17987190aa2137b44af003812b105c6cb2021a Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sat, 6 Mar 2021 21:51:26 +0200 Subject: apache: logrotate daily on duvel --- modules/apache/templates/logrotate | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1