16 lines
302 B
Ruby
Executable File
16 lines
302 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
require 'rubygems'
|
|
require 'daemons'
|
|
|
|
opts = {
|
|
:app_name => 'binaryattraction_facebooker',
|
|
:dir_mode => :script,
|
|
:dir => '/log',
|
|
:backtrace => true,
|
|
:multiple => true,
|
|
:log_output => true
|
|
}
|
|
|
|
Daemons.run(File.dirname(__FILE__) + '/binaryattraction_facebooker.rb', opts)
|