Changeset 2427


Ignore:
Timestamp:
10/31/08 02:59:17 (5 years ago)
Author:
anarcat
Message:

fix the configuration file used for alternc-webalizer and stats
Closes: #1170

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc-mergelog/trunk/debian/postinst

    r2409 r2427  
    1717    if [ "$RET" = "true" -a -d /etc/alternc ]  
    1818        then 
    19         echo "ACCESSLOG=\"/var/log/alternc-mergelog/access.log\"" >/etc/alternc/webalizer.conf 
     19        echo "ACCESSLOG=\"/var/log/alternc-mergelog/access.log.1\"" >/etc/alternc/webalizer.conf 
    2020        chown www-data:www-data /etc/alternc/webalizer.conf 
    2121    fi 
     
    2424    if [ "$RET" = "true" -a -e /etc/cron.daily/logrotate-stats ]  
    2525    then 
    26       sed -i -e 's#/var/log/apache/access.log.1#/var/log/alternc-mergelog/access.log#' /etc/cron.daily/logrotate-stats 
     26      sed -i -e 's#/var/log/apache/access.log.1#/var/log/alternc-mergelog/access.log.1#' /etc/cron.daily/logrotate-stats 
    2727    fi 
    2828 
Note: See TracChangeset for help on using the changeset viewer.