/ gt.op.fo ➔ gi.op.fo

This commit is contained in:
fro
2025-12-09 19:44:28 -05:00
parent 588f97e772
commit af91a31a23
5 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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/

View File

@@ -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

View File

@@ -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

View File

@@ -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