%PDF- %PDF-
Direktori : /proc/309157/root/home/waritko/ |
Current File : //proc/309157/root/home/waritko/awhost |
#!/bin/bash echo "Include \"/home/waritko/awstats/conf/awstats.base.conf\"" > /home/waritko/awstats/conf/awstats.${1}.conf echo "LogFile=\"cat /var/log/nginx/tail.log | grep '${1} ' |\"" >> /home/waritko/awstats/conf/awstats.${1}.conf echo "SiteDomain=\"${1}\"" >> /home/waritko/awstats/conf/awstats.${1}.conf echo "HostAliases=\"localhost 127.0.0.1 www.${1}\"" >> /home/waritko/awstats/conf/awstats.${1}.conf echo "${1}" >> /home/waritko/awstats/hosts.txt