# File lib/thin/daemonizing.rb, line 157 def write_pid_file log ">> Writing PID to #{@pid_file}" open(@pid_file,"w") { |f| f.write(Process.pid) } File.chmod(0644, @pid_file) end