From 49d1276031bbebf7d53cf705f51306cfd74e67d1 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sat, 26 Jul 2025 11:32:32 -0400 Subject: [PATCH] Fixed puma config for new Puma versions --- config/puma.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/config/puma.rb b/config/puma.rb index 5431555..ce118df 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,14 +1,9 @@ app_dir = File.expand_path("..", __dir__) -log_dir = File.join(app_dir, "log") -pid_dir = "/var/run/game-data" # or use app_dir + '/tmp/pids' if not using system-wide PID dir - directory app_dir -pidfile File.join(pid_dir, "puma.pid") -stdout_redirect File.join(log_dir, "puma.log"), File.join(log_dir, "puma.err.log"), true environment 'production' bind 'tcp://0.0.0.0:9292' workers 2 threads 1, 5 -daemonize true +