root/tags/omega-1.0.0-rc2/configs/logrotate/ispcp

Revision 473, 350 bytes (checked in by malte, 21 months ago)
Line 
1/var/log/apache2/users/*.log {
2        weekly
3        missingok
4        rotate 52
5        compress
6        delaycompress
7        notifempty
8        create 640 root adm
9        sharedscripts
10        prerotate
11                /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
12        endscript
13        postrotate
14        if [ -f /var/run/apache2.pid ]; then
15                /etc/init.d/apache2 restart > /dev/null
16        fi
17        endscript
18}
Note: See TracBrowser for help on using the browser.