# File lib/nanite/pid_file.rb, line 23 def write ensure_dir open(@pid_file,'w') {|f| f.write(Process.pid) } File.chmod(0644, @pid_file) end