da, postrotate se pare ca este ce-mi trebuie, dar mai am o problema:
postrotate vine dupa compress?
ca daca da, sarg nu o sa shtie sa citeasca .gz-urile
[EMAIL PROTECTED] wrote: Andrei-Florian Staicu wrote: As vrea sa rulez
SARG-ul dupa fiecare logrotate pentru Squid. Am gasit in
/etc/logrotate.d/squid urmatoarele: /var/log/squid/access.log { weekly
rotate5 copytruncate compress notifempty missingok } Daca inserez un "sarg"
inainte de compress imi face treaba asta? postrotate /usr/sbin/squid -k
rotate endscript cam asha cred ca se poate face... shi iese de genu ...
/var/log/squid/store.log { weekly rotate 5 copytruncate compress notifempty
missingok # This script asks squid to rotate its logs on its own. #
Restarting squid is a long process and it is not worth # doing it just to
rotate logs postrotate /usr/sbin/squid -k rotate endscript } --- Detalii
despre listele noastre de mail: http://www.lug.ro/[2]
-- Sincerely, Andrei-Florian STAICU
--- Links ---
1 mailto:[EMAIL PROTECTED]
2 http://www.lug.ro/
-- Binary/unsupported file stripped by Ecartis --
-- Type: text/x-vcard
-- File: andrei.staicu.vcf
---
Detalii despre listele noastre de mail: http://www.lug.ro/