Fix PID file path

This commit is contained in:
Ryan Cavicchioni 2024-07-04 01:24:04 -05:00
parent abb7cb0c90
commit 6802c59f1d
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

2
app.rb
View File

@ -18,7 +18,7 @@ SESSION_SECRET_HEX_LENGTH = 64
set :session_secret, ENV.fetch('SESSION_SECRET') { SecureRandom.hex(SESSION_SECRET_HEX_LENGTH) }
CLK_TCK = 100
PID_FILE_PATH = "/run/pid".freeze
PID_FILE_PATH = "/run/app/pid".freeze
PROC_UPTIME_PATH = "/proc/uptime".freeze
SECONDS_PER_YEAR = 31_556_952