summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2007-12-01 00:47:22 +0000
committerRuss Allbery <rra@stanford.edu>2007-12-01 00:47:22 +0000
commit5563464c5392112f0f7b20fcfd610a734303e4c2 (patch)
treea467e6468c222f26d69b26ef3825ce0240c6711c
parentc9948c8f68b11a1e897afe9c9f2dd2fcb6934f8d (diff)
Move wallet.conf to /etc/wallet since we're going to want to put other
things in that directory as well.
-rw-r--r--docs/setup2
-rw-r--r--perl/Wallet/Config.pm7
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/setup b/docs/setup
index 87c327d..582c792 100644
--- a/docs/setup
+++ b/docs/setup
@@ -21,7 +21,7 @@ MySQL Database Setup
system and gives it access to the wallet database, where it can create
its own tables.
- Now, create an /etc/wallet.conf file and include settings like:
+ Now, create an /etc/wallet/wallet.conf file and include settings like:
$DB_DRIVER = 'MySQL';
$DB_NAME = 'wallet';
diff --git a/perl/Wallet/Config.pm b/perl/Wallet/Config.pm
index ad8070b..57cce9b 100644
--- a/perl/Wallet/Config.pm
+++ b/perl/Wallet/Config.pm
@@ -18,7 +18,7 @@ use vars qw($PATH $VERSION);
$VERSION = '0.01';
# Path to the config file to load.
-$PATH = '/etc/wallet.conf';
+$PATH = '/etc/wallet/wallet.conf';
=head1 NAME
@@ -48,8 +48,9 @@ Wallet::Config - Configuration handling for the wallet server
Wallet::Config encapsulates all of the site-specific configuration for the
wallet server. It is implemented as a Perl class that declares and sets the
defaults for various configuration variables and then, if it exists, loads
-the file F</etc/wallet.conf>. That file should contain any site-specific
-overrides to the defaults, and at least some parameters must be set.
+the file F</etc/wallet/wallet.conf>. That file should contain any
+site-specific overrides to the defaults, and at least some parameters must
+be set.
This file must be valid Perl. To set a variable, use the syntax: