]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/samhain/templates/logrotate.d-samhain
Apply Aurelien's nfs patch to the dsa-check-libs copy in puppet also
[dsa-puppet.git] / modules / samhain / templates / logrotate.d-samhain
index 025611e3fefe8e46343085e6118a8fd518eb7b04..9d06ce7d191a73d9c459e577ca58dc09105fc19a 100644 (file)
@@ -1,7 +1,13 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
 /var/log/samhain/*.log {
-       weekly
+       daily
        missingok
-       rotate 52
+       rotate 14
+       dateext
        compress
        delaycompress
        notifempty
@@ -9,6 +15,6 @@
        sharedscripts
        postrotate
           if [ -f /var/run/samhain/samhain.pid ]; then \
-               /etc/init.d/samhain reload > /dev/null; fi
+               invoke-rc.d samhain reload > /dev/null; fi
        endscript
 }