From e95b486c21d0902d8c84105eec4d1441ff04c46d Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Tue, 12 Dec 2006 22:23:04 +0000 Subject: [PATCH] - export PGPORT --- plc.d/crond | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" -- 2.43.0