bin/mongrel_rails in mongrel-0.3.2 vs bin/mongrel_rails in mongrel-0.3.3
- old
+ new
@@ -123,10 +123,10 @@
def daemonize
# save this for later since daemonize will hose it
if @daemon
puts "Started Mongrel server in #@environment mode at #@address:#@port"
- Daemonize.daemonize(log_file=@log_file)
+ Daemonize.daemonize(log_file=File.join(@cwd, @log_file))
# change back to the original starting directory
Dir.chdir(@cwd)
open(@pid_file,"w") {|f| f.write(Process.pid) }