2015-06-17 13:54:43 +00:00
|
|
|
diff --git a/examples/logrotate.cron b/examples/logrotate.cron
|
|
|
|
index c6d50d4..967932e 100644
|
|
|
|
--- a/examples/logrotate.cron
|
|
|
|
+++ b/examples/logrotate.cron
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
-/usr/sbin/logrotate /etc/logrotate.conf
|
2016-07-20 12:34:01 +00:00
|
|
|
+/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf
|
2015-06-17 13:54:43 +00:00
|
|
|
EXITVALUE=$?
|
|
|
|
if [ $EXITVALUE != 0 ]; then
|
|
|
|
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
|