diff options
author | mh <mh@immerda.ch> | 2010-01-11 09:16:41 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-01-11 09:16:41 +0100 |
commit | 703325731ac00614eab9ae669ef02f70818a4ed7 (patch) | |
tree | c472b2244411c33978f812d96baf84b910bfe48b /manifests/logrotate.pp | |
parent | 074255c4ef34e577669b618437ee61368e682605 (diff) |
don't make logfiles public readable
Diffstat (limited to 'manifests/logrotate.pp')
-rw-r--r-- | manifests/logrotate.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/logrotate.pp b/manifests/logrotate.pp index bb4656c..a26e1c2 100644 --- a/manifests/logrotate.pp +++ b/manifests/logrotate.pp @@ -5,7 +5,7 @@ class dovecot::logrotate { context => "/files/etc/logrotate.d/dovecot/rule", changes => [ 'set file /var/log/dovecot/*.log', 'set rotate 3', 'set schedule weekly', 'set compress compress', 'set sharedscripts sharedscripts', - 'set create/mode 0664', 'set create/owner root', 'set create/group mail', + 'set create/mode 0660', 'set create/owner root', 'set create/group mail', 'set postrotate "/bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> /dev/null || true"' ], } } |