@@ -2,3 +2,4 @@ db-uri = "postgresql://[USERNAME]:[PASSWORD]@[HOST_CONNECTION_STRING]"
|
||||
db-schemas = "www"
|
||||
db-anon-role = "anonymous"
|
||||
#jwt-secret = "myownlittlecleansecret"
|
||||
server-port = 3000
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[Unit]
|
||||
Description=PostgREST
|
||||
Description=PostgREST BM
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=postgrest
|
||||
Group=postgrest
|
||||
ExecStart=/usr/local/bin/postgrest /etc/postgrest/config
|
||||
ExecStart=/usr/local/bin/postgrest /etc/postgrest/config_bm
|
||||
ExecReload=/bin/kill -SIGUSR1 $MAINPID
|
||||
|
||||
[Install]
|
||||
12
cfg/pgr/postgrest_fwd.service
Normal file
12
cfg/pgr/postgrest_fwd.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=PostgREST FWD
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=postgrest
|
||||
Group=postgrest
|
||||
ExecStart=/usr/local/bin/postgrest /etc/postgrest/config_fwd
|
||||
ExecReload=/bin/kill -SIGUSR1 $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user