summaryrefslogtreecommitdiff
path: root/lib/byteback/util.rb
diff options
context:
space:
mode:
authorMatthew Bloch <mattbee@yoga.home.bloch.tv>2014-11-24 16:29:26 +0000
committerMatthew Bloch <mattbee@yoga.home.bloch.tv>2014-11-24 16:29:26 +0000
commit9024f71b487dc55b25dbacb7aa968d8002c840fd (patch)
tree53ce68f5e02cecbd09d214059adffde8abe29a4b /lib/byteback/util.rb
parent43565976272f53e9db7943e2d505b55790337693 (diff)
Finished 6c945d3a9399639bfa9119c26d7dab6238f15543 properly (/var/run -> /var/lock).
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