From: Mark Huang Date: Tue, 12 Dec 2006 22:23:04 +0000 (+0000) Subject: - export PGPORT X-Git-Tag: planetlab-4_0-rc1~62 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=e95b486c21d0902d8c84105eec4d1441ff04c46d - export PGPORT --- diff --git a/plc.d/crond b/plc.d/crond index 34f371c..64fa7af 100755 --- a/plc.d/crond +++ b/plc.d/crond @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: crond,v 1.4 2006/05/26 19:57:30 mlhuang Exp $ +# $Id: crond,v 1.5 2006/06/23 20:29:22 mlhuang Exp $ # # Source function library and configuration @@ -17,6 +17,9 @@ # Be verbose set -x +# Export so that we do not have to specify -p to psql invocations +export PGPORT=$PLC_DB_PORT + case "$1" in start) MESSAGE=$"Starting crond"