Sha256: 45625df8d029201c4e4df738cd3fe277b403c37cdfb0f180446df77fab14e7f7
Contents?: true
Size: 341 Bytes
Versions: 7
Compression:
Stored size: 341 Bytes
Contents
#!/usr/bin/env ruby require 'spoon' file_actions = Spoon::FileActions.new file_actions.close(1) file_actions.open(1, "log/development.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"){|f| f.write(pid) }
Version data entries
7 entries across 7 versions & 1 rubygems