diff --git a/lib/Monitorix.pm b/lib/Monitorix.pm index 82e7c68..988775c 100644 --- a/lib/Monitorix.pm +++ b/lib/Monitorix.pm @@ -515,7 +515,7 @@ sub flush_accounting_rules { sub lockfile_handler { my ($config) = @_; if (lc($config->{enable_rrd_lock} || "") eq "y") { - my $lock_file = "/tmp/monitorix.flock"; + my $lock_file = "/tmp/monitorix.lock"; my $lockfile_was_available = (-e $lock_file); open(my $fh, ">>", $lock_file) or die "Can't open $lock_file: $!";