start_test_db.sh 216 B

12345678
  1. #!/bin/sh
  2. if [ -z $(which postgres) ] ; then
  3. echo "Postgres not found, you may need to launch like so: PATH=\$PATH:/usr/lib/postgresql/9.3/bin/ $0"
  4. exit 1
  5. fi
  6. postgres -D datadir/ -p 10432 -k `pwd`/datadir/