From af91a31a2322d25c6230d1319c5785bded6fc125 Mon Sep 17 00:00:00 2001 From: fro Date: Tue, 9 Dec 2025 19:44:28 -0500 Subject: [PATCH] =?UTF-8?q?/=20gt.op.fo=20=E2=9E=94=20gi.op.fo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scr/0_download_scripts.sh | 4 ++-- scr/2a_postgrest_install.sh | 2 +- scr/2b_postgrest_service.sh | 2 +- scr/7_add_www_placeholder.sh | 2 +- scr/8_nginx_enable_site.sh | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scr/0_download_scripts.sh b/scr/0_download_scripts.sh index 69fd371..76e35cc 100755 --- a/scr/0_download_scripts.sh +++ b/scr/0_download_scripts.sh @@ -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 diff --git a/scr/2a_postgrest_install.sh b/scr/2a_postgrest_install.sh index 17d27aa..4acfaa4 100644 --- a/scr/2a_postgrest_install.sh +++ b/scr/2a_postgrest_install.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/ diff --git a/scr/2b_postgrest_service.sh b/scr/2b_postgrest_service.sh index 9518ed5..1506eb7 100644 --- a/scr/2b_postgrest_service.sh +++ b/scr/2b_postgrest_service.sh @@ -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 diff --git a/scr/7_add_www_placeholder.sh b/scr/7_add_www_placeholder.sh index 7e553e4..d42b883 100755 --- a/scr/7_add_www_placeholder.sh +++ b/scr/7_add_www_placeholder.sh @@ -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 diff --git a/scr/8_nginx_enable_site.sh b/scr/8_nginx_enable_site.sh index 64eae7a..75fd3df 100755 --- a/scr/8_nginx_enable_site.sh +++ b/scr/8_nginx_enable_site.sh @@ -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