You can use: w.dir = "/path/to/my/app"
to control what directory the watcher is run from. This will have the same effect as your "cd" with a little bit more error checking. On Oct 26, 11:39 pm, Mirko <[email protected]> wrote: > I'm running into the same issue with my daemon. No idea why it fails, > but I found a workaround. > > Here's the original line from my god config: > > w.start = "/path/to/my/app/bin/my_app.rb start" > > Here's the line that works: > > w.start = "cd /path/to/my/app; bin/my_app.rb start" > > Weird... But at least this seems to be working. > > -Mirko > > On Oct 12, 8:50 am, Josh <[email protected]> wrote: > > > > > In a nutshell, god repeatedly tries to start my daemon and fails > > "start command exited with non-zero code = 1", however if I copy/paste > > that command and run it w/ sudo it gets started just fine, god even > > recognizes that the new process is running. > > >http://www.pastie.org/651594fordetails. > > > I've been trying to get more info out of the god log, specifically > > what the error is that god is seeing, but I can't get any extra info > > out of it, any thoughts on that? > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
