diff options
author | re4k <re4k@re4k.info> | 2013-03-14 23:28:59 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-03-14 23:28:59 +0900 |
commit | 85079ba8a48160b43099f80b3d567c812d9099a8 (patch) | |
tree | 8cde057bfc7aa00c6e1c0f610a6da5aad1c2a5bd /script | |
parent | 2bf399afa9707b08523f538332657ee06156efb0 (diff) | |
download | aclog-85079ba8a48160b43099f80b3d567c812d9099a8.tar.gz |
Change Twitter Streaming API library to em-twitter
Diffstat (limited to 'script')
-rw-r--r-- | script/start.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script/start.rb b/script/start.rb new file mode 100644 index 0000000..476c866 --- /dev/null +++ b/script/start.rb @@ -0,0 +1,6 @@ +Receiver::Worker.spawn!({:working_dir => Rails.root, + :pid_file => File.join(Rails.root, "tmp", "pids", "receiver.pid"), + :log_file => File.join(Rails.root, "log", "receiver.log"), + :sync_log => true, + :singleton => true}) + |