about summary refs log blame commit diff stats
path: root/tools/conf/etc/logrotate.d/postgres
blob: fc59aad6fe42d29298e7b7db8d3300a8dfe61ab2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                 
/var/log/pgsql {
    weekly
    compress
    delaycompress
    rotate 10
    notifempty
    create 660 postgres postgres
    sharedscripts
    postrotate
    if [ -f /var/run/syslog-ng.pid ]; then \
    	kill -HUP `cat /var/run/syslog-ng.pid`; \
    fi;
    endscript

}