Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/librenms/files/patch-LibreNMS_Util_FileLock.php
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- LibreNMS/Util/FileLock.php.orig 2018-01-14 15:32:35 UTC | |||||
+++ LibreNMS/Util/FileLock.php | |||||
@@ -45,7 +45,7 @@ class FileLock implements Lock | |||||
global $config; | |||||
$this->name = $lock_name; | |||||
- $this->file = "$config[install_dir]/.$lock_name.lock"; | |||||
+ $this->file = "/tmp/.$lock_name.lock"; | |||||
$this->handle = fopen($this->file, "w+"); | |||||
} | |||||