crankshaft/run_server.sh
2016-03-04 10:00:20 -05:00

15 lines
179 B
Bash
Executable File

#!/bin/bash
/sbin/my_init &
echo "Waiting for PostgreSQL to run..."
sleep 1
while ! /usr/bin/pg_isready -q
do
sleep 1
echo -n "."
done
cd /crankshaft/pg
make install
fg