From 5db6de6594e8e8c87efe0d2ad72f8af7f0ab1371 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 24 Feb 2010 17:35:52 +0100 Subject: Package example logrotate script --- src/examples/logrotate | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/examples/logrotate (limited to 'src/examples') diff --git a/src/examples/logrotate b/src/examples/logrotate new file mode 100644 index 000000000..9df721f2a --- /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 +} -- cgit