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