+ new sh scripts

This commit is contained in:
fro
2025-10-26 21:56:12 -05:00
parent 29c42b55e7
commit a510d4354c
3 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/bash
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# config postgrest / frode klevstul / oct 2025
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
cp postgrest.service /etc/systemd/system/
systemctl enable postgrest
systemctl start postgrest
systemctl status postgrest