ports/net-mgmt/librenms/files/patch-LibreNMS_Util_FileLock.php
Muhammad Moinur Rahman 4975cbead9 net-mgmt/librenms: Update version 1.45=>1.47
PR:		234645
Submitted by:	dvl
Relnotes:	https://github.com/librenms/librenms/releases
2019-01-12 11:14:13 +00:00

10 lines
341 B
PHP

--- LibreNMS/Util/FileLock.php.orig 2018-12-30 14:29:16 UTC
+++ LibreNMS/Util/FileLock.php
@@ -47,6 +47,7 @@ class FileLock implements Lock
$this->name = $lock_name;
$this->file = "$install_dir/.$lock_name.lock";
+ $this->file = "/tmp/.$lock_name.lock";
$this->handle = fopen($this->file, "w+");
}