diff options
author | rhenium <re4k@re4k.info> | 2013-05-11 09:34:02 +0900 |
---|---|---|
committer | rhenium <re4k@re4k.info> | 2013-05-11 09:34:02 +0900 |
commit | ffb269fb48d879f28331e8ace83aa1e51f0f23d8 (patch) | |
tree | 30b41c061563430c6fdf404c65e14f158ebd9cf6 /script | |
parent | 16498094d4b019a3b8240de1c0a2d31ac101136f (diff) | |
download | aclog-ffb269fb48d879f28331e8ace83aa1e51f0f23d8.tar.gz |
move receiver
Diffstat (limited to 'script')
-rw-r--r-- | script/start.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/script/start.rb b/script/start.rb index 476c866..3d527a2 100644 --- a/script/start.rb +++ b/script/start.rb @@ -1,6 +1,8 @@ -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}) +Aclog::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 +) |