Hi,

I'm relatively new to god, but I've been able to set it up mostly
right.

On issue I haven't been able to fix, is for this watch:

God.watch do |w|
  w.dir      = 'some dir'
  w.name     = 'rapns'
  w.group    = 'some app'
  w.interval = 30.seconds
  w.pid_file = "some pid.pid"
  w.gid = 'user'
  w.uid = 'group'
  w.start    = "bundle exec rapns production --foreground >
somelog.log"
  w.log = "some path/god.log"
end

Why the --foreground switch and the output redirection you ask? Well,
I've tested several approaches, and none of them write to the log.
With just "bundle exec rapns production", the god.log file does get
written, but only *after* I kill the rapns process. With the method I
show, it's the same, but for the somelog.log file.

Is this an issue with the rapns process or is there something I'm
doing all wrong?

Thanks!

- Ivan

-- 
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en.

Reply via email to