From 19dbbcec5d79f55d6b0b6c8f8965477bc7893556 Mon Sep 17 00:00:00 2001 From: fro Date: Tue, 28 Oct 2025 13:01:10 -0500 Subject: [PATCH] / first working (?) version --- scr/2b_postgrest_service.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scr/2b_postgrest_service.sh b/scr/2b_postgrest_service.sh index 1cc5db3..9518ed5 100644 --- a/scr/2b_postgrest_service.sh +++ b/scr/2b_postgrest_service.sh @@ -1,7 +1,7 @@ #!/bin/bash # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# config postgrest / frode klevstul / oct 2025 +# add postgrest as a systemd service / frode klevstul / oct 2025 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if ! [ -f "/etc/systemd/system/postgrest.service" ] @@ -10,7 +10,7 @@ then useradd -M -U -d /nonexistent -s /usr/sbin/nologin postgrest cd /tmp - wget https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/pgr/postgrest.service + wget -O postgrest.service https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/pgr/postgrest.service cp postgrest.service /etc/systemd/system/ systemctl enable postgrest