wok-6.x rev 12151

sarg: Customising config file
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 15 00:26:36 2012 +0100 (2012-03-15)
parents 06e15f1998a1
children 15a917692a49
files sarg/receipt
line diff
     1.1 --- a/sarg/receipt	Thu Mar 15 00:10:41 2012 +0100
     1.2 +++ b/sarg/receipt	Thu Mar 15 00:26:36 2012 +0100
     1.3 @@ -29,5 +29,9 @@
     1.4  	cp -a $install/etc $fs
     1.5  	cp -a $install/usr/bin $fs/usr
     1.6  	cp -a $install/usr/share/sarg $fs/usr/share
     1.7 +	
     1.8 +	sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
     1.9 +		-e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
    1.10 +		$fs/etc/sarg/sarg.conf
    1.11  }
    1.12