12 lines
169 B
Bash
Executable File
12 lines
169 B
Bash
Executable File
#!/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
|