slitaz-forge diff forum/system-config/logrotate.d/slitaz-forum @ rev 0

Adding system and vanilla config files for the forum
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Dec 22 10:25:56 2010 +0100 (2010-12-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/forum/system-config/logrotate.d/slitaz-forum	Wed Dec 22 10:25:56 2010 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +/home/slitaz/logs/access_log {
     1.5 +    missingok
     1.6 +    daily
     1.7 +    rotate 5
     1.8 +    prerotate
     1.9 +        /usr/local/bin/awsupdate forum.slitaz.org 
    1.10 +    endscript
    1.11 +    postrotate
    1.12 +        /usr/bin/killall -HUP apache2 2> /dev/null || true
    1.13 +    endscript
    1.14 +}
    1.15 +
    1.16 +/home/slitaz/logs/error_log {
    1.17 +    missingok
    1.18 +    daily
    1.19 +    rotate 5
    1.20 +    postrotate
    1.21 +        /usr/bin/killall -HUP apache2 2> /dev/null || true
    1.22 +    endscript
    1.23 +}
    1.24 +