aboutsummaryrefslogtreecommitdiff
path: root/runmepostgres.sh
blob: 632ea6656caa628138cd16b4d8c2aa4d1ad475b7 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash

read -p "Press [Enter] key to start Postgres (will already be running if you just got it) use ctl+c to cancel";
echo "> Starting Server";
~/pg/postgres/bin/pg_ctl -D ~/pg/postgres/data/ -l POSTGRES_logfile start;

#echo "> Conecting as admin user: " + ${USER};
#~/pg/postgres/bin/psql -U ${USER} postgres;