|
|
@@ -136,10 +136,10 @@ for domain in $(shell_list) ; do
|
|
|
-e "s/%alias_idn%/${aliases_idn//,/ }/g" \
|
|
|
> $HOMEDIR/$user/conf/web/$STATS.$domain.conf
|
|
|
|
|
|
- stats_string="$BIN/v_update_web_domain_stat $user $domain"
|
|
|
- check_stats_pipe=$(grep "$stats_string" $VESTA/data/queue/stats.pipe)
|
|
|
- if [ -z "$check_stats_pipe" ]; then
|
|
|
- echo "$stats_string" >> $VESTA/data/queue/stats.pipe
|
|
|
+ webstats="$BIN/v_update_web_domain_stat $user $domain"
|
|
|
+ check_webstats=$(grep "$webstats" $VESTA/data/queue/webstats.pipe)
|
|
|
+ if [ -z "$check_webstats" ]; then
|
|
|
+ echo "$webstats" >> $VESTA/data/queue/webstats.pipe
|
|
|
fi
|
|
|
|
|
|
if [ ! -z "$STATS_USER" ]; then
|