summaryrefslogtreecommitdiff
path: root/templates/logrotate.conf.erb
diff options
context:
space:
mode:
authorEwoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl>2013-07-02 23:07:00 +0200
committerEwoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl>2013-11-20 14:34:32 +0100
commit9bee8a31f2305dda884aeab3caf3bf91cd8603ba (patch)
tree007bf81de4da038b1fb8f826ce5a40731a605460 /templates/logrotate.conf.erb
parent057658ba93e2562c596dfa5607836679631be916 (diff)
Unify logrotate files into templates
Diffstat (limited to 'templates/logrotate.conf.erb')
-rw-r--r--templates/logrotate.conf.erb35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/logrotate.conf.erb b/templates/logrotate.conf.erb
new file mode 100644
index 0000000..0e3e6ca
--- /dev/null
+++ b/templates/logrotate.conf.erb
@@ -0,0 +1,35 @@
+/var/log/munin/munin-update.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ create 640 munin adm
+}
+
+/var/log/munin/munin-graph.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ create 660 munin <%= @apache_user %>
+}
+
+/var/log/munin/munin-html.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ create 640 munin adm
+}
+
+/var/log/munin/munin-limits.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ create 640 munin adm
+}