aboutsummaryrefslogtreecommitdiffstats
path: root/postgrest/start-postgrest.sh
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@eficode.com>2020-04-26 15:48:24 +0300
committerJan Tuomi <jan.tuomi@eficode.com>2020-04-26 15:48:24 +0300
commit55f725a502011155f0943f2340ef3763f014ccc0 (patch)
treec1915fd2c3f67e93b3fd406d018583bc6b050baa /postgrest/start-postgrest.sh
Initial commit
Diffstat (limited to 'postgrest/start-postgrest.sh')
-rwxr-xr-xpostgrest/start-postgrest.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/postgrest/start-postgrest.sh b/postgrest/start-postgrest.sh
new file mode 100755
index 0000000..5995898
--- /dev/null
+++ b/postgrest/start-postgrest.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+envsubst < postgrest.conf > postgrest.conf.tmp
+mv postgrest.conf.tmp postgrest.conf
+./postgrest postgrest.conf