summaryrefslogtreecommitdiffstats
path: root/patches/logrotate-3.7.1/deb-config-h.patch
blob: 0958d89951b0f6d494ea6902c835da303c973968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Fix locations of STATEFILE and DEFAULT_MAIL_COMMAND for Debian.


---
 config.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: logrotate-3.7.1/config.h
===================================================================
--- logrotate-3.7.1.orig/config.h
+++ logrotate-3.7.1/config.h
@@ -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,6 +36,6 @@
 #endif
 
 #ifndef STATEFILE
-    #define STATEFILE "/var/lib/logrotate.status"
+    #define STATEFILE "/var/lib/logrotate/status"
 #endif