From: Mark Huang Date: Mon, 10 Apr 2006 16:00:47 +0000 (+0000) Subject: - set PGPORT X-Git-Tag: myplc-0_4-rc1~81 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=085d17668383c955f055c55e9883c28b16e0a531;hp=00486e6f391586f05c8439ab2f8986f106b0535c;p=myplc.git - set PGPORT --- diff --git a/plc.d/api b/plc.d/api index ab09812..ecbcdef 100755 --- a/plc.d/api +++ b/plc.d/api @@ -7,12 +7,15 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: guest.init,v 1.12 2006/04/04 22:09:47 mlhuang Exp $ +# $Id: api,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions +# Export so that we do not have to specify -p to psql invocations +export PGPORT=$PLC_DB_PORT + case "$1" in start) if [ "$PLC_API_ENABLED" != "1" ] ; then