u
This commit is contained in:
@@ -18,11 +18,11 @@ fi
|
|||||||
|
|
||||||
username=$1
|
username=$1
|
||||||
domain=$2
|
domain=$2
|
||||||
base_url_www=https://gt.op.fo/fro/lnxPub/raw/branch/master/srv/cmn/www
|
base_url_www=https://gt.op.fo/fro/srv-pub/raw/branch/trunk/www
|
||||||
|
|
||||||
cd /tmp/
|
cd /tmp/
|
||||||
wget -O favicon.ico ${base_url_www}/${domain}/favicon.ico
|
wget -O favicon.ico ${base_url_www}/favicon.ico
|
||||||
wget -O index.html ${base_url_www}/${domain}/index.html
|
wget -O index.html ${base_url_www}/index.html
|
||||||
wget -O robots.txt ${base_url_www}/${domain}/robots.txt
|
wget -O robots.txt ${base_url_www}/robots.txt
|
||||||
cp favicon.ico index.html robots.txt /var/www/${domain}
|
cp favicon.ico index.html robots.txt /var/www/${domain}
|
||||||
chown ${username}:${username} /var/www/${domain}/*.*
|
chown ${username}:${username} /var/www/${domain}/*.*
|
||||||
|
|||||||
Reference in New Issue
Block a user