summaryrefslogtreecommitdiff
path: root/logrotate/logrotate-paths.diff
blob: 609907a9383c284b26c12283fed0f20a61acbecf (plain)
    1 diff -Nru logrotate-3.7.9-orig/config.h logrotate-3.7.9/config.h
    2 --- logrotate-3.7.9-orig/config.h	2010-12-23 20:21:54.000000000 +0200
    3 +++ logrotate-3.7.9/config.h	2010-12-23 20:24:13.000000000 +0200
    4 @@ -20,7 +20,7 @@
    5   * Default settings for Linux - leave these last.
    6   */
    7  #ifndef DEFAULT_MAIL_COMMAND
    8 -#define DEFAULT_MAIL_COMMAND "/bin/mail"
    9 +#define DEFAULT_MAIL_COMMAND "/usr/bin/mail"
   10  #endif
   11  
   12  #ifndef COMPRESS_COMMAND
   13 @@ -36,5 +36,5 @@
   14  #endif
   15  
   16  #ifndef STATEFILE
   17 -#define STATEFILE "/var/lib/logrotate.status"
   18 +#define STATEFILE "/var/state/logrotate/logrotate.status"
   19  #endif
   20 diff -Nru logrotate-3.7.9-orig/logrotate.8 logrotate-3.7.9/logrotate.8
   21 --- logrotate-3.7.9-orig/logrotate.8	2010-12-23 20:21:54.000000000 +0200
   22 +++ logrotate-3.7.9/logrotate.8	2010-12-23 20:23:32.000000000 +0200
   23 @@ -55,7 +55,7 @@
   24  \fB-s, -\-state <statefile>\fR
   25  Tells \fBlogrotate\fR to use an alternate state file.  This is useful
   26  if logrotate is being run as a different user for various sets of
   27 -log files.  The default state file is \fI/var/lib/logrotate.status\fR.
   28 +log files.  The default state file is \fI/var/state/logrotate/logrotate.status\fR.
   29  
   30  .TP
   31  \fB-\-usage\fR
   32 @@ -473,7 +473,7 @@
   33  .SH FILES
   34  .PD 0
   35  .TP 27
   36 -\fI/var/lib/logrotate.status\fR
   37 +\fI/var/state/logrotate/logrotate.status\fR
   38  Default state file.
   39  .TP 27
   40  \fI/etc/logrotate.conf\fR

Generated by cgit