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 (parent:
9620105
)
- also explicitly allow localhost connections for drupal
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 19 Jan 2007 17:25:27 +0000
(17:25 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 19 Jan 2007 17:25:27 +0000
(17:25 +0000)
plc.d/postgresql
patch
|
blob
|
history
diff --git
a/plc.d/postgresql
b/plc.d/postgresql
index
fc1d2a8
..
c16f152
100755
(executable)
--- a/
plc.d/postgresql
+++ b/
plc.d/postgresql
@@
-7,7
+7,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: postgresql,v 1.
8 2007/01/18 22:09:14
mlhuang Exp $
+# $Id: postgresql,v 1.
9 2007/01/19 16:42:08
mlhuang Exp $
#
# Source function library and configuration
#
# Source function library and configuration
@@
-98,6
+98,7
@@
case "$1" in
echo "host $PLC_DB_NAME $PLC_DB_USER $PLC_API_IP/32 password"
echo "host $PLC_DB_NAME $PLC_DB_USER $PLC_WWW_IP/32 password"
# Drupal also uses PostgreSQL
echo "host $PLC_DB_NAME $PLC_DB_USER $PLC_API_IP/32 password"
echo "host $PLC_DB_NAME $PLC_DB_USER $PLC_WWW_IP/32 password"
# Drupal also uses PostgreSQL
+ echo "host drupal $PLC_DB_USER 127.0.0.1/32 password"
echo "host drupal $PLC_DB_USER $PLC_WWW_IP/32 password"
) >>$pghba_conf
echo "host drupal $PLC_DB_USER $PLC_WWW_IP/32 password"
) >>$pghba_conf