git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5dc0924
)
- export PGPORT
author
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 12 Dec 2006 22:23:04 +0000
(22:23 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 12 Dec 2006 22:23:04 +0000
(22:23 +0000)
plc.d/crond
patch
|
blob
|
history
diff --git
a/plc.d/crond
b/plc.d/crond
index
34f371c
..
64fa7af
100755
(executable)
--- a/
plc.d/crond
+++ b/
plc.d/crond
@@
-7,7
+7,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# 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"