summaryrefslogtreecommitdiff
path: root/templates/logrotate.conf.erb
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-01-20 18:40:04 +0000
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-01-20 18:40:04 +0000
commit23201220bf8b7b63da44747be142face0c98eb09 (patch)
treec1645f62976281a552963b1309307e0d0b6136f3 /templates/logrotate.conf.erb
parent7e03247a9e219fe8e57d544957eb06e305e69fc1 (diff)
parenteaa092eb1a8f3ae19551e6e80f84d174211b5208 (diff)
Merge branch 'merge_immerda' into 'master'
This is my attempt at merging the huge backlog of commits from immerda. I've been pretty verbose about it in redmine so I won't repeat it all here. For details, see: https://labs.riseup.net/code/issues/4132
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
+}