diff options
| author | Tom Harley | 2018-02-22 18:32:15 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-02-22 18:32:15 +0000 |
| commit | 59c4e0f06b2bfb41c17111017823daa15900f94a (patch) | |
| tree | 725ccb6573c5b0a1f640a43aa65eaf40a8fa0d45 /runmepostgres.sh | |
| parent | Merge branch 'trh/error-middleware' into 'trh/payload-checker' (diff) | |
| parent | Merge branch 'trh/editorconfig' into 'master' (diff) | |
| download | medicine-59c4e0f06b2bfb41c17111017823daa15900f94a.tar.gz medicine-59c4e0f06b2bfb41c17111017823daa15900f94a.zip | |
Merge branch ‘master’ into trh/payload-checker
Diffstat (limited to 'runmepostgres.sh')
| -rwxr-xr-x | runmepostgres.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/runmepostgres.sh b/runmepostgres.sh index dfa5764..632ea66 100755 --- a/runmepostgres.sh +++ b/runmepostgres.sh @@ -1,10 +1,8 @@ #!/bin/bash -PGDIR=${1-"$HOME/pg"} - 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"; -"$PGDIR/postgres/bin/pg_ctl" -D "$PGDIR/postgres/data/" -l POSTGRES_logfile start; +~/pg/postgres/bin/pg_ctl -D ~/pg/postgres/data/ -l POSTGRES_logfile start; -echo "> Conecting as admin user: " + ${USER}; -"$PGDIR/postgres/bin/psql" -U ${USER} postgres; +#echo "> Conecting as admin user: " + ${USER}; +#~/pg/postgres/bin/psql -U ${USER} postgres; |
