[pve-devel] applied: [PATCH manager] replication: use a dedicated lock file

Dietmar Maurer dietmar at proxmox.com
Fri Jun 2 06:13:59 CEST 2017


> >  # Note: regression tests can overwrite $state_path for testing
> >  our $state_path = "/var/lib/pve-manager/pve-replication-state.json";
> > +our $lock_file = "/var/lock/pve-replication";
> 
> I used the following instead:
> 
> my $pvesr_lock_file = "/var/lock/pvesr.lck";

changed once more to:

our $pvesr_lock_path = "/var/lock/pvesr.lck";

(so that we can overwrite in regression tests)




More information about the pve-devel mailing list