diff options
Diffstat (limited to 'debian/samhain.logrotate.d')
-rw-r--r-- | debian/samhain.logrotate.d | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/samhain.logrotate.d b/debian/samhain.logrotate.d new file mode 100644 index 0000000..025611e --- /dev/null +++ b/debian/samhain.logrotate.d @@ -0,0 +1,14 @@ +/var/log/samhain/*.log { + weekly + missingok + rotate 52 + compress + delaycompress + notifempty + create 640 root adm + sharedscripts + postrotate + if [ -f /var/run/samhain/samhain.pid ]; then \ + /etc/init.d/samhain reload > /dev/null; fi + endscript +} |