#!/usr/bin/env bash pg_ctl -o "-c listen_addresses='localhost'" -w restart cd /app if [[ -d "./lib" ]]; then node ./lib/init.js else yarn ts ./src/init.ts fi