Sha256: 4f4923b6258eb226eca36af8bf4f4130be004e670f36141ad24bf51dfbce041e

Contents?: true

Size: 467 Bytes

Versions: 39

Compression:

Stored size: 467 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

39 entries across 39 versions & 1 rubygems

Version Path
procemon-1.2.0 lib/procemon/function/tmp_dir.rb
procemon-1.1.1 lib/procemon/function/tmp_dir.rb
procemon-1.0.4 lib/procemon/function/tmp_dir.rb
procemon-1.0.3 lib/procemon/function/tmp_dir.rb
procemon-1.0.1 lib/procemon/function/tmp_dir.rb
procemon-1.0.0 lib/procemon/function/tmp_dir.rb
procemon-0.9.1 lib/procemon/function/tmp_dir.rb
procemon-0.9.0 lib/procemon/function/tmp_dir.rb
procemon-0.8.1 lib/procemon/function/tmp_dir.rb
procemon-0.8.0 lib/procemon/function/tmp_dir.rb
procemon-0.7.0 lib/procemon/function/tmp_dir.rb
procemon-0.6.3 lib/procemon/function/tmp_dir.rb
procemon-0.6.2 lib/procemon/function/tmp_dir.rb
procemon-0.6.1 lib/procemon/function/tmp_dir.rb
procemon-0.5.0 lib/procemon/function/tmp_dir.rb
procemon-0.4.5 lib/procemon/function/tmp_dir.rb
procemon-0.4.4 lib/procemon/function/tmp_dir.rb
procemon-0.4.3 lib/procemon/function/tmp_dir.rb
procemon-0.4.2 lib/procemon/function/tmp_dir.rb
procemon-0.4.1 lib/procemon/function/tmp_dir.rb