u
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
# config postgrest / frode klevstul / oct 2025
|
# config postgrest / frode klevstul / oct 2025
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
if ! [ -f "/etc/systemd/system/postgrest.service" ]
|
||||||
|
then
|
||||||
|
|
||||||
useradd -M -U -d /nonexistent -s /usr/sbin/nologin postgrest
|
useradd -M -U -d /nonexistent -s /usr/sbin/nologin postgrest
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
@@ -13,3 +16,5 @@ cp postgrest.service /etc/systemd/system/
|
|||||||
systemctl enable postgrest
|
systemctl enable postgrest
|
||||||
systemctl start postgrest
|
systemctl start postgrest
|
||||||
systemctl status postgrest
|
systemctl status postgrest
|
||||||
|
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user