mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- don't require 'daemons' anymore
This commit is contained in:
parent
1aa5365e40
commit
08bd889e84
1 changed files with 0 additions and 6 deletions
|
@ -25,12 +25,6 @@ opts = OptionParser.new do |opts|
|
|||
|
||||
opts.on("-d", "--daemonize", "Daemonize (default is run in foreground)") do
|
||||
settings.daemonize = true
|
||||
begin
|
||||
require "daemons"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Could not load library 'daemons'. Is the 'daemons' rubygem installed?"
|
||||
exit 1
|
||||
end
|
||||
end
|
||||
|
||||
opts.on("-l", "--log FILE", "Log to a given path. Default is stdout.") do |path|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue