Magellan Linux

Diff of /trunk/rsyslog/rsyslog.logrotate

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1922 by niro, Thu Jun 2 17:17:44 2011 UTC revision 1923 by niro, Sat Oct 27 11:53:22 2012 UTC
# Line 2  Line 2 
2  # rsyslog logrotate config file  # rsyslog logrotate config file
3  #  #
4    
5    /var/log/messages
6  /var/log/messages {  /var/log/secure
7   sharedscripts  /var/log/maillog
8   postrotate  /var/log/cron
9   /etc/init.d/rsyslog reload >/dev/null  /var/log/spooler
  endscript  
 }  
   
 /var/log/secure {  
  sharedscripts  
  postrotate  
  /etc/init.d/rsyslog reload >/dev/null  
  endscript  
 }  
   
 /var/log/maillog {  
  sharedscripts  
  postrotate  
  /etc/init.d/rsyslog reload >/dev/null  
  endscript  
 }  
   
 /var/log/cron {  
  sharedscripts  
  postrotate  
  /etc/init.d/rsyslog reload >/dev/null  
  endscript  
 }  
   
 /var/log/spooler {  
  sharedscripts  
  postrotate  
  /etc/init.d/rsyslog reload >/dev/null  
  endscript  
 }  
   
10  /var/log/boot.log {  /var/log/boot.log {
11   sharedscripts   sharedscripts
12   postrotate   postrotate
13   /etc/init.d/rsyslog reload >/dev/null   /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
14   endscript   endscript
15  }  }

Legend:
Removed from v.1922  
changed lines
  Added in v.1923