summaryrefslogtreecommitdiff
path: root/lib/byteback/util.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/byteback/util.rb')
-rw-r--r--lib/byteback/util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/byteback/util.rb b/lib/byteback/util.rb
index f6b2b61..391e051 100644
--- a/lib/byteback/util.rb
+++ b/lib/byteback/util.rb
@@ -43,7 +43,7 @@ module Byteback
end
def lock_out_other_processes(name)
- @@lockfile = "/var/run/byteback/#{name}.lock"
+ @@lockfile = "/var/lock/byteback/#{name}.lock"
claim_lockfile!
at_exit { remove_lockfile! }
end