logrotate configuration

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: elemint@theriver.com
Data:  
Dla: plug-discuss
Temat: logrotate configuration
I have added the below config to the bottom of logrotate.conf to
rotate my postfix mail logs on my Debian system.. The problem is that
these are still not being rotated daily, any suggestions?




      "/var/log/mail.log" /var/log/mail.log {
          daily
          rotate 365
          delaycompress
          create
          postrotate
           /utilities/mail.stop && /utilities/mail.start
       endscript
    }



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss