Files
bpfire/config/rootfiles/core/27/update.sh
maniacikarus fe1656d2ad Added recent proxy modifications to core27
Ability to change filedescriptors up to 16000
Ability to use cachemanager website to monitor squid
Ability to reconfigure squid wihtout restart
2009-02-17 19:31:14 +01:00

14 lines
513 B
Bash

#!/bin/bash
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
/etc/init.d/squid stop
extract_files
[ -e /var/ipfire/qos/enable ] && qosctrl stop
qosctrl generate
[ -e /var/ipfire/qos/enable ] && qosctrl start
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
sysctl -p
mv /etc/squid/cachemgr.conf /var/ipfire/proxy/cachemgr.conf
ln -sf /var/ipfire/proxy/cachemgr.conf /etc/squid/cachemgr.conf
chown nobody.nobody /var/ipfire/proxy/cachemgr.conf
/etc/init.d/squid start