Skip to content

Commit 300a033

Browse files
author
Kristan Kenney
committed
Update web statistics script
1 parent 8990383 commit 300a033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-add-web-domain-stats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ cat $WEBTPL/$type/$type.tpl |\
6767
-e "s|%home%|$HOMEDIR|g" \
6868
-e "s|%alias%|${aliases//,/ }|g" \
6969
-e "s|%alias_idn%|${aliases_idn//,/ }|g" \
70-
> $HOMEDIR/$user/conf/web/$type.$domain.conf
70+
> $HOMEDIR/$user/conf/web/$domain/$type.conf
7171

7272
if [ "$type" == 'awstats' ]; then
7373
rm -f /etc/awstats/$type.$domain_idn.conf
74-
ln -s $HOMEDIR/$user/conf/web/$type.$domain.conf \
74+
ln -s $HOMEDIR/$user/conf/web/$domain/$type.conf \
7575
/etc/awstats/$type.$domain_idn.conf
7676
fi
7777

0 commit comments

Comments
 (0)