tor/contrib/auto-naming/db-config.rb
Peter Palfrader 423293dead Make dbhost configureable
svn:r12600
2007-11-29 11:20:26 +00:00

9 lines
327 B
Ruby

$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';