store status files in /dev/shm
This commit is contained in:
parent
8b69fb745a
commit
e1f29b555c
6
app.rb
6
app.rb
@ -134,7 +134,7 @@ class Health
|
||||
include UpDown
|
||||
|
||||
def initialize
|
||||
@file = "./healthy"
|
||||
@file = "/dev/shm/healthy"
|
||||
end
|
||||
|
||||
def healthy?
|
||||
@ -148,7 +148,7 @@ class Ready
|
||||
include UpDown
|
||||
|
||||
def initialize
|
||||
@file = "./ready"
|
||||
@file = "/dev/shm/ready"
|
||||
end
|
||||
|
||||
def ready?
|
||||
@ -161,7 +161,7 @@ class Sleep
|
||||
include State
|
||||
|
||||
def initialize
|
||||
@file = "./sleep"
|
||||
@file = "/dev/shm/sleep"
|
||||
end
|
||||
|
||||
def asleep?
|
||||
|
Loading…
x
Reference in New Issue
Block a user