summaryrefslogtreecommitdiff
path: root/bin/postgres
blob: 7e1bb7c3ad70bddcb0ee5bd0ca778d3000e88def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e
[ -n "$DEBUG" ] && set -x

cd "$(dirname "$0")/.."

if ! command -v postgres >/dev/null 2>&1; then
  echo "Install postgres via mise: mise install postgres"
  exit 1
fi

exec postgres $@