Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# Logrotate file for psacct RPM
2
 
3
/var/account/pacct {
4
    compress
5
    delaycompress
6
    notifempty
7
    daily
8
    rotate 31
9
    create 0600 root root
10
    postrotate
11
       if /usr/bin/systemctl --quiet is-active psacct.service ; then
12
           /usr/sbin/accton /var/account/pacct | /usr/bin/grep -v "Turning on process accounting, file set to '/var/account/pacct'." | /usr/bin/cat
13
       fi
14
    endscript
15
}