summaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-02-24 17:35:52 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-08 13:42:47 -0500
commit5db6de6594e8e8c87efe0d2ad72f8af7f0ab1371 (patch)
tree4e449e1aa85d9205b239f48102df77a977655d06 /src/examples
parent71cd2f7ce705561d8d8f3cb7f385a57bedad1ef1 (diff)
downloadsssd_unused-5db6de6594e8e8c87efe0d2ad72f8af7f0ab1371.zip
sssd_unused-5db6de6594e8e8c87efe0d2ad72f8af7f0ab1371.tar.gz
sssd_unused-5db6de6594e8e8c87efe0d2ad72f8af7f0ab1371.tar.xz
Package example logrotate script
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/examples/logrotate b/src/examples/logrotate
new file mode 100644
index 0000000..9df721f
--- /dev/null
+++ b/src/examples/logrotate
@@ -0,0 +1,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
+}