1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Fix locations of STATEFILE and DEFAULT_MAIL_COMMAND for Debian.
Index: logrotate-3.7.7/config.h
===================================================================
--- logrotate-3.7.7.orig/config.h 2005-11-12 19:07:56.000000000 +0000
+++ logrotate-3.7.7/config.h 2008-11-07 01:04:58.335555054 +0000
@@ -20,7 +20,7 @@
* Default settings for Linux - leave these last.
*/
#ifndef DEFAULT_MAIL_COMMAND
-#define DEFAULT_MAIL_COMMAND "/bin/mail"
+#define DEFAULT_MAIL_COMMAND "/usr/bin/mail"
#endif
#ifndef COMPRESS_COMMAND
@@ -36,5 +36,5 @@
#endif
#ifndef STATEFILE
-#define STATEFILE "/var/lib/logrotate.status"
+#define STATEFILE "/var/lib/logrotate/status"
#endif
|