mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Add 'status' argument.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5654 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -20,9 +20,12 @@ case $1 in
|
||||
stop)
|
||||
$PG_CTL stop
|
||||
;;
|
||||
status)
|
||||
$PG_CTL status
|
||||
;;
|
||||
connect)
|
||||
$PG_CTL status | grep "not running" && $PG_CTL start && sleep 1
|
||||
psql -p 7777 gnc_test
|
||||
psql -p 7777 $2
|
||||
;;
|
||||
*)
|
||||
echo "Bad command: $1"
|
||||
|
||||
Reference in New Issue
Block a user