/ gt.op.fo ➔ gi.op.fo
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# - ssh usr@srv -p [port]
|
||||
# - cd /tmp
|
||||
# - wget https://gt.op.fo/fro/srv-pub/raw/branch/trunk/scr/0_download_scripts.sh
|
||||
# - wget https://gi.op.fo/fro/srv-pub/raw/branch/trunk/scr/0_download_scripts.sh
|
||||
# - chmod 755 *.sh
|
||||
# - ./0_download_scripts.sh
|
||||
# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
|
||||
@@ -21,7 +21,7 @@ if [ "$EUID" -ne 0 ]
|
||||
exit
|
||||
fi
|
||||
|
||||
base_url_scr=https://gt.op.fo/fro/srv-pub/raw/branch/trunk/scr
|
||||
base_url_scr=https://gi.op.fo/fro/srv-pub/raw/branch/trunk/scr
|
||||
rm /tmp/*.sh
|
||||
cd /tmp/
|
||||
wget ${base_url_scr}/0_download_scripts.sh
|
||||
|
||||
@@ -55,7 +55,7 @@ fi
|
||||
if ! [ -f "/etc/postgrest/config" ]
|
||||
then
|
||||
|
||||
wget -O config https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/pgr/config
|
||||
wget -O config https://gi.op.fo/fro/srv-pub/raw/branch/trunk/cfg/pgr/config
|
||||
|
||||
cp config /etc/postgrest/
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ then
|
||||
useradd -M -U -d /nonexistent -s /usr/sbin/nologin postgrest
|
||||
|
||||
cd /tmp
|
||||
wget -O postgrest.service https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/pgr/postgrest.service
|
||||
wget -O postgrest.service https://gi.op.fo/fro/srv-pub/raw/branch/trunk/cfg/pgr/postgrest.service
|
||||
cp postgrest.service /etc/systemd/system/
|
||||
|
||||
systemctl enable postgrest
|
||||
|
||||
@@ -18,7 +18,7 @@ fi
|
||||
|
||||
username=$1
|
||||
domain=$2
|
||||
base_url_www=https://gt.op.fo/fro/srv-pub/raw/branch/trunk/www
|
||||
base_url_www=https://gi.op.fo/fro/srv-pub/raw/branch/trunk/www
|
||||
|
||||
cd /tmp/
|
||||
wget -O favicon.ico ${base_url_www}/favicon.ico
|
||||
|
||||
@@ -22,7 +22,7 @@ domain=$2
|
||||
clear
|
||||
|
||||
cd /tmp/
|
||||
wget -O ${domain}.conf https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/ngx/${domain}.conf
|
||||
wget -O ${domain}.conf https://gi.op.fo/fro/srv-pub/raw/branch/trunk/cfg/ngx/${domain}.conf
|
||||
cp /tmp/${domain}.conf /etc/nginx/sites-available/.
|
||||
ln -s /etc/nginx/sites-available/${domain}.conf /etc/nginx/sites-enabled/
|
||||
chown ${username}:${username} /etc/nginx/sites-available/${domain}.conf
|
||||
|
||||
Reference in New Issue
Block a user