From e1f29b555cbd57eb3265d1a06dadf7616934d9b8 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Wed, 12 Mar 2025 17:36:14 -0500 Subject: [PATCH] store status files in /dev/shm --- app.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.rb b/app.rb index 4784ebe..6b8f205 100644 --- a/app.rb +++ b/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?