u
This commit is contained in:
@@ -4,12 +4,17 @@
|
|||||||
# config postgrest / frode klevstul / oct 2025
|
# config postgrest / frode klevstul / oct 2025
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
useradd -M -U -d /nonexistent -s /usr/sbin/nologin postgrest
|
if ! [ -f "/etc/systemd/system/postgrest.service" ]
|
||||||
|
then
|
||||||
|
|
||||||
cd /tmp
|
useradd -M -U -d /nonexistent -s /usr/sbin/nologin postgrest
|
||||||
wget https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/pgr/postgrest.service
|
|
||||||
cp postgrest.service /etc/systemd/system/
|
|
||||||
|
|
||||||
systemctl enable postgrest
|
cd /tmp
|
||||||
systemctl start postgrest
|
wget https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/pgr/postgrest.service
|
||||||
systemctl status postgrest
|
cp postgrest.service /etc/systemd/system/
|
||||||
|
|
||||||
|
systemctl enable postgrest
|
||||||
|
systemctl start postgrest
|
||||||
|
systemctl status postgrest
|
||||||
|
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user