Sha256: a3b19e47990a687a4027e31390fc27c6d393c101acb548b9ae2a7206b6087c11

Contents?: true

Size: 578 Bytes

Versions: 1

Compression:

Stored size: 578 Bytes

Contents

#!/usr/bin/env ruby
require 'daemons'

`mkdir -p ~/optimus_runner/logs`
options = {
    :app_name           => "optimus-runner",
    :dir_mode           => :normal,
    :dir                => "#{File.expand_path('~')}/optimus_runner/pids",
    :multiple           => true,
    :log_output         => true,
    :pid_delimiter      => '.n',
    :backtrace          => true,
    :monitor            => true,
    :log_dir            => "#{File.expand_path('~')}/optimus_runner/logs",
    :logfilename        => 'optimus-runner.log'
}
Daemons.run('optimus_runner_manager', options)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optimus-runner-0.4.0 exe/optimus-runner