sleepwatcher: use `Dir.home` over `ENV["HOME"]`
parent
b552b91563
commit
1676fcbb9c
|
@ -43,7 +43,7 @@ class Sleepwatcher < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
service do
|
service do
|
||||||
run [opt_sbin/"sleepwatcher", "-V", "-s", "#{ENV["HOME"]}/.sleep", "-w", "#{ENV["HOME"]}/.wakeup"]
|
run [opt_sbin/"sleepwatcher", "-V", "-s", "#{Dir.home}/.sleep", "-w", "#{Dir.home}/.wakeup"]
|
||||||
run_type :immediate
|
run_type :immediate
|
||||||
keep_alive true
|
keep_alive true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue