summaryrefslogtreecommitdiff
path: root/server/gentoo/logrotate.d/pracrod
blob: eab5a82ba99d2522998ec623eb21f1dc14b047a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}