summaryrefslogtreecommitdiffstats
path: root/src/examples/logrotate
blob: ecf0c6102873e08dede3c6e7909fcf2a6379d4cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/var/log/sssd/*.log {
    weekly
    missingok
    notifempty
    sharedscripts
    rotate 2
    compress
    delaycompress
    postrotate
        /bin/kill -HUP `cat /var/run/sssd.pid  2>/dev/null`  2> /dev/null || true
    endscript
}