3 $
:.unshift File
.join(File
.dirname(__FILE__
), *%w
[.. lib
])
11 OptionParser
.new
do |opts
|
12 opts
.banner
= "Usage: god command [options]"
14 opts
.on("-cCONFIG", "--config-file CONFIG", "Configuration file") do |x
|
19 options
[:config] = File
.expand_path(options
[:config]) if options
[:config]
24 Daemons
.run_proc('god') do