Sha256: de75463da068845c1d35fd93c90602b81503b57a46437d0374f26915e049cb5f
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
module Procemon class << self require "tmpdir" def tmpdir_init begin Dir.mkdir File.join(Dir.tmpdir,$0) rescue Errno::EEXIST end Application.tmpdir= File.join(Dir.tmpdir,$0) Application.pid= File.join(Application.tmpdir,"pid") Application.log= File.join(Application.tmpdir,"log") Application.daemon_stderr= File.join(Application.tmpdir,"daemon_stderr") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
procemon-1.2.1 | lib/procemon/function/tmp_dir.rb |