exec/ner.rb in opener-ner-2.1.0 vs exec/ner.rb in opener-ner-3.0.0
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
require 'opener/daemons'
+
require_relative '../lib/opener/ner'
-options = Opener::Daemons::OptParser.parse!(ARGV)
-daemon = Opener::Daemons::Daemon.new(Opener::Ner, options)
+daemon = Opener::Daemons::Daemon.new(Opener::Ner)
-daemon.start
\ No newline at end of file
+daemon.start