Changeset 562


Ignore:
Timestamp:
12/17/09 13:08:58 (15 years ago)
Author:
nanardon
Message:
  • use a global directory for status file, including synchronistation state file
Location:
LATMOS-Accounts
Files:
2 edited

Legend:

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

    r559 r562  
    180180    my $sync = LATMOS::Accounts::Synchro->new( 
    181181        $labfrom, [ @labto ], 
    182         state_file => $self->val('_default_', 'state_file') || '/dev/null', 
     182        state_file => ($self->val('_default_', 'state_dir') 
     183            ? $self->val('_default_', 'state_dir') . '/synchronisation.ini' 
     184            : undef), 
    183185        %options, 
    184186        name => $name, 
  • LATMOS-Accounts/sample/latmos-account.ini

    r547 r562  
    1717# The base templates directory 
    1818templatespath = /usr/share/latmos-accounts/templates 
     19# The directory where status get writen, directory must exists 
     20state_dir = 
    1921 
    2022 
Note: See TracChangeset for help on using the changeset viewer.