This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
binaryattraction/facebook_daemon.rb

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)