aboutsummaryrefslogtreecommitdiffstats
path: root/postgrest/start-postgrest.sh
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@eficode.com>2020-04-26 16:40:34 +0300
committerJan Tuomi <jan.tuomi@eficode.com>2020-04-26 16:40:34 +0300
commit449ebe5164ad9d2ba1e7d61bbae8e4101b703490 (patch)
treee334b1bd0f0999da9cfd36d0502578b2cac102af /postgrest/start-postgrest.sh
parent55f725a502011155f0943f2340ef3763f014ccc0 (diff)
Stuff
Diffstat (limited to 'postgrest/start-postgrest.sh')
-rwxr-xr-xpostgrest/start-postgrest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/postgrest/start-postgrest.sh b/postgrest/start-postgrest.sh
index 5995898..f74e180 100755
--- a/postgrest/start-postgrest.sh
+++ b/postgrest/start-postgrest.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+# Insert env vars into postgrest.conf
envsubst < postgrest.conf > postgrest.conf.tmp
mv postgrest.conf.tmp postgrest.conf
+
./postgrest postgrest.conf