mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-10 00:07:08 +02:00
Fix fluentd launch option
This commit is contained in:
parent
5063a68160
commit
6498ad34ff
@ -53,12 +53,16 @@ class Fluentd
|
||||
end
|
||||
|
||||
def validate_fluentd_options
|
||||
system("bundle exec fluentd --dry-run #{options_to_argv}")
|
||||
Bundler.with_clean_env do
|
||||
system("fluentd --dry-run #{options_to_argv}")
|
||||
end
|
||||
end
|
||||
|
||||
def actual_start
|
||||
return unless validate_fluentd_options
|
||||
spawn("bundle exec fluentd #{options_to_argv}")
|
||||
Bundler.with_clean_env do
|
||||
spawn("fluentd #{options_to_argv}")
|
||||
end
|
||||
wait_starting
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user