[ac] Konfiguracja logrotate
Bartek Szady
bszx-pld at bszxdomain.edu.eu.org
Sat Oct 29 16:59:18 CEST 2005
Cześć
Czy są jekieś przeciwwskazania do używania sharedscripts w konfiguracji
logrotate?
Np. apache.logrotate mogłoby wyglądać tak:
/var/log/httpd/*access_log
/var/log/httpd/*agent_log
/var/log/httpd/*error_log
/var/log/httpd/*referer_log {
olddir /var/log/archiv/httpd
sharedscripts
postrotate
/etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
endscript
}
--
Pozdrawiam
Bartek Szady
More information about the pld-devel-pl
mailing list