Sha256: 0c9da0601bb37d759f6d29ae3ecb78957f6470537fd747f7dbe6f877810a9860
Contents?: true
Size: 466 Bytes
Versions: 17
Compression:
Stored size: 466 Bytes
Contents
#!/usr/bin/env ruby require 'spoon' file_actions = Spoon::FileActions.new file_actions.close(1) file_actions.open(1, "log/jubilee.stdout.log", File::WRONLY | File::TRUNC | File::CREAT, 0600) file_actions.close(2) file_actions.open(2, "log/jubilee.stderr.log", File::WRONLY | File::TRUNC | File::CREAT, 0600) spawn_attr = Spoon::SpawnAttributes.new pid = Spoon.posix_spawn('jubilee', file_actions, spawn_attr, ARGV) open("tmp/jubilee.pid", "w"){|f| f.write(pid) }
Version data entries
17 entries across 17 versions & 1 rubygems