X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsamhain%2Ftemplates%2Flogrotate.d-samhain;h=9d06ce7d191a73d9c459e577ca58dc09105fc19a;hb=8fc2f013fa1510bcb2e53f7b307d371ae99cfebb;hp=025611e3fefe8e46343085e6118a8fd518eb7b04;hpb=cf9bc079ab9409593fd9154569408a6082ddf725;p=mirror%2Fdsa-puppet.git diff --git a/modules/samhain/templates/logrotate.d-samhain b/modules/samhain/templates/logrotate.d-samhain index 025611e3f..9d06ce7d1 100644 --- a/modules/samhain/templates/logrotate.d-samhain +++ b/modules/samhain/templates/logrotate.d-samhain @@ -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 }