summaryrefslogtreecommitdiffstats
path: root/debian/sssd-common.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sssd-common.logrotate')
-rw-r--r--debian/sssd-common.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/sssd-common.logrotate b/debian/sssd-common.logrotate
new file mode 100644
index 0000000..f305c87
--- /dev/null
+++ b/debian/sssd-common.logrotate
@@ -0,0 +1,11 @@
+/var/log/sssd/*.log {
+ rotate 4
+ weekly
+ missingok
+ notifempty
+ compress
+ delaycompress
+ postrotate
+ kill -HUP `cat /var/run/sssd.pid` > /dev/null 2>&1 || true
+ endscript
+}