You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2022. It is now read-only.
On our system, we're running scout under a supervisor where $HOME isn't writeable.
The code has this:
# by default, scout_realtime puts its pid and logfile in ~/.scout/
home_dir = File.join( (File.expand_path("~") rescue "/"), ".scout" )
FileUtils.mkdir_p(home_dir) # ensure home directory exists
pid_path = File.join(home_dir, "scout_realtime.pid")
log_path = File.join(home_dir, "scout_realtime.log")
This code fails, even when --pid-file and --log-file point those entries elsewhere.
Can the mkdir_p call be moved to where the pid_path and log_path are opened, and run on the directories associated with those values, as opposed to assuming it's going to be under ~/.scout?
Thanks!
Jeff
The text was updated successfully, but these errors were encountered:
jpotter
changed the title
Args for setting log path and pid path
Args for setting log path and pid path ignored in mkdir ~/.scout call
Jul 3, 2014
Hi,
On our system, we're running scout under a supervisor where $HOME isn't writeable.
The code has this:
This code fails, even when --pid-file and --log-file point those entries elsewhere.
Can the mkdir_p call be moved to where the pid_path and log_path are opened, and run on the directories associated with those values, as opposed to assuming it's going to be under ~/.scout?
Thanks!
Jeff
The text was updated successfully, but these errors were encountered: