diff options
Diffstat (limited to 'server/gentoo/logrotate.d/pracrod')
-rw-r--r-- | server/gentoo/logrotate.d/pracrod | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/server/gentoo/logrotate.d/pracrod b/server/gentoo/logrotate.d/pracrod new file mode 100644 index 0000000..eab5a82 --- /dev/null +++ b/server/gentoo/logrotate.d/pracrod @@ -0,0 +1,15 @@ +# -*- shell-script -*- +# Copyright 2010 Bent Bisballe Nyeng +# Distributed under the terms of the GNU General Public License v2 + +/var/log/pracrod.log { + weekly + #create 660 root root + notifempty + size 5M + sharedscripts + missingok + postrotate + /bin/kill -s SIGHUP `cat /var/run/pracrod.pid` + endscript +} |