Support Requests: Browse | Submit New | Admin
Not sure if this should be a bug report or a support request but if I pass ar_sendmail the -d option it fails to go into daemon mode. I can see that it enters the block: if options[:Daemon] then require 'webrick/server' WEBrick::Daemon.start end but the program exits from there. I couldn't find much documentation on WEBrick::Daemon so I wasn't sure what else to try in order to fix the problem. If anyone has had a similar issue and fixed it, any advice would be appreciated. Thanks, -Jesse
Add A Comment:
Date: 2007-06-05 17:08 Sender: Jesse Clark Hi, I do not have any code in the application thst depends on Dir.pwd. The line of code: 32: Dir::chdir("/") mentioned in the previous support ticket you referenced doesn't seem to exist in the code base anymore so I am unable to comment that out to see if it solves my problem as well. In non-daemon mode, it runs fine so long as my environment config doesn't use ActiveRecordStore ( see: http://rubyforge.org/tracker/index.php?func=detail&aid=10435& amp;group_id=1266&atid=4981 ). As a temporary work around I have been running ar_sendmail in normal mode and redirecting output to /dev/null.
Date: 2007-05-26 00:50 Sender: Eric Hodel Hrm, probably dup of: http://rubyforge.org/tracker/index.php?func=detail&aid=9847&a mp;group_id=1266&atid=4981 If you don't have any dependencies on Dir.pwd, please reopen.
Date: 2007-05-26 00:38 Sender: Eric Hodel What does it do in non-daemon mode?