new improved template scheme

This commit is contained in:
Serghey Rodin 2013-05-10 11:04:40 +03:00
commit fd4e68bb8c
96 changed files with 1395 additions and 1425 deletions

View file

@ -38,7 +38,7 @@ for domain in $(search_objects 'web' 'SUSPENDED' "no" 'DOMAIN'); do
update_object_value 'web' 'DOMAIN' "$domain" '$U_BANDWIDTH' '0'
fi
log_file="/var/log/httpd/domains/$domain.bytes"
log_file="/var/log/$WEB_SYSTEM/domains/$domain.bytes"
bytes=0
# Parsing log