Changeset 1029 for trunk


Ignore:
Timestamp:
05/30/12 11:05:50 (12 years ago)
Author:
nanardon
Message:

Env. LA_CONFIG define configuration directory

Location:
trunk/LATMOS-Accounts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts.pm

    r1023 r1029  
    2323sub _configdir { 
    2424   my ($self) = @_; 
    25    ($self || {})->{_configdir} || '/etc/latmos-accounts' 
     25   $ENV{LA_CONFIG} || 
     26   ($self || {})->{_configdir} || 
     27   '/etc/latmos-accounts' 
    2628} 
    2729 
  • trunk/LATMOS-Accounts/man/man8/latmos-accounts.pod

    r1020 r1029  
    5252=head1 CONFIGURATION 
    5353 
     54All configuration files listed bellow must be stored in the same directory. 
     55 
     56By default this directory is F</etc/latmos-accounts>. 
     57 
     58It can be overload by setting envirronment variable C<LA_CONFIG>. 
     59 
    5460=head2 Configuration files list 
    5561 
Note: See TracChangeset for help on using the changeset viewer.