mirror of
https://github.com/elastic/logstash.git
synced 2025-04-21 21:27:20 -04:00
use bin/ruby instead of hardcoded vendorized jruby without :development remove symlink check per PR discussiom, will re-introduce in a followup PR
11 lines
373 B
Ruby
Executable file
11 lines
373 B
Ruby
Executable file
#!/usr/bin/env bin/ruby
|
|
|
|
require_relative "../lib/bootstrap/environment"
|
|
LogStash::Bundler.setup!({:without => [:build, :development]})
|
|
require "logstash-core"
|
|
require "logstash/environment"
|
|
require "logstash/settings"
|
|
|
|
io = Java::OrgLogstashCommonIo::FileCheckpointIO.new(LogStash::SETTINGS.get_value("path.queue"))
|
|
cp = io.read(ARGV[0])
|
|
puts("checkpoint #{cp.toString}")
|