diff options
author | Peter Palfrader <peter@palfrader.org> | 2007-11-29 11:20:26 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2007-11-29 11:20:26 +0000 |
commit | 423293dead2208aba3428e0b7add48416c34cef4 (patch) | |
tree | 011590259a84167fcaf4f74604a63f13f2233168 /contrib/auto-naming/db-config.rb | |
parent | 30cbcaecc55dcce728a7ddc970574d2dc8f1c536 (diff) | |
download | tor-423293dead2208aba3428e0b7add48416c34cef4.tar.gz tor-423293dead2208aba3428e0b7add48416c34cef4.zip |
Make dbhost configureable
svn:r12600
Diffstat (limited to 'contrib/auto-naming/db-config.rb')
-rw-r--r-- | contrib/auto-naming/db-config.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/auto-naming/db-config.rb b/contrib/auto-naming/db-config.rb index 3cf2dbe32a..b1508c1b70 100644 --- a/contrib/auto-naming/db-config.rb +++ b/contrib/auto-naming/db-config.rb @@ -1,6 +1,8 @@ $CONFIG = {} unless $CONFIG $CONFIG['database'] = {} unless $CONFIG['database'] +# if you use postgres' "ident sameuser" auth set dbhost to '' +$CONFIG['database']['dbhost'] = 'localhost'; $CONFIG['database']['dbname'] = 'tornaming'; $CONFIG['database']['user'] = 'tornaming'; $CONFIG['database']['password'] = 'x'; |