Ticket #26195: patch-examples-logrotate-default.diff

File patch-examples-logrotate-default.diff, 788 bytes (added by pixilla (Bradley Giesbrecht), 14 years ago)
  • examples/logrotate-default

    old new  
    1515#compress
    1616
    1717# RPM packages drop log rotation information into this directory
    18 include /etc/logrotate.d
     18include @@PREFIX@@/etc/logrotate.d
    1919
    2020# no packages own wtmp and btmp -- we'll rotate them here
    21 /var/log/wtmp {
    22     monthly
    23     create 0664 root utmp
    24         minsize 1M
    25     rotate 1
    26 }
    27 
    28 /var/log/btmp {
    29     missingok
    30     monthly
    31     create 0600 root utmp
    32     rotate 1
    33 }
     21#/var/log/wtmp {
     22#    monthly
     23#    create 0664 root utmp
     24#       minsize 1M
     25#    rotate 1
     26#}
     27#
     28#/var/log/btmp {
     29#    missingok
     30#    monthly
     31#    create 0600 root utmp
     32#    rotate 1
     33#}
    3434
    3535# system-specific logs may be also be configured here.