cleanup proxy cache pool

This commit is contained in:
Serghey Rodin
2015-07-16 18:30:28 +03:00
parent 4a43952b26
commit dc396f2f72

View File

@@ -85,6 +85,12 @@ if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
del_web_config
fi
# Deleting domain from proxy cache pool
pool="/etc/$PROXY_SYSTEM/conf.d/01_caching_pool.conf"
if [ -e "$pool" ]; then
sed -i "/=$domain:/d" $pool
fi
fi
# Checking stats